Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in ReadInBams (GenomicRanges::seqnames(target)) #20

Open
alejandroriglesias opened this issue Aug 6, 2020 · 3 comments
Open

Error in ReadInBams (GenomicRanges::seqnames(target)) #20

alejandroriglesias opened this issue Aug 6, 2020 · 3 comments

Comments

@alejandroriglesias
Copy link

Hello:

I am running DECoN in Windows, but we are having a lot of errors in the execution of ReadInBams.bat. This is the error:
"Error in GenomicRanges::seqnames(target) : error in evaluating the argument 'x' in selecting a method for function 'seqnames': Error: object target not found"

Our inputs are the BAM files, the .bed file (without the "chr" prefix, due to previous errors we eliminated the prefix) and the reference fasta file in .fa format. We cannot find a solution for this, so if anybody had this error or knows how to solve it, we would very much appreciate it.

@shethharsh08
Copy link

Hi Alejandro

I am facing similar issues with running the code. How did you manage to remove chr prefix from BAM file?

Cheers!

@alejandroriglesias
Copy link
Author

Hi:
We ended up running DECoN in an Linux machine and the chr prefix problem dissapeared.

@shethharsh08
Copy link

Hi Alejandro
Thanks for the prompt response. I am running the script in Ubuntu 18.04 LTS machine and I am getting this issue. Briefly, FASTQ files were aligned against human_g1k_v37.fasta human genome and variant calling was carried out using GATK v4. Any help would be greatly appreciated!
Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants