-
Notifications
You must be signed in to change notification settings - Fork 1
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
Issue with chr name format #1
Comments
Hey! Are you sure you're sorting the bed file so numeric chromosomes are in numeric order? If 10:714133 < 9:1408991937, that may not be true. Are you doing Not sure that would solve your problem though. For the case where you just remove
and checking whether the output gives 0 coverage for regions chromosome 10 and up? Let me know what happens. |
Hi, Thanks. I think it is actually a problem with wiggletools. Here is an example using
For simplicity, I made a BED file with only one region per chromosome. If I sort the BED file as you suggest
even though the BED file is corrected sorted by chromosome in numeric order:
If instead I use the BED file sorted as it was previously (as if the chr prefix was still present) wiggletools runs but only returns outputs for chromosomes 1-9
|
Yes, looks like the wiggletools BAM parser is having issues |
Glad this has been figured out! Hope it's resolved soon. |
I'm using sorted BAM files that have numeric chromosome names (no "chr" prefix). There seems to be an issue with quantification. If I remove "chr" from your degradation BED file chromosome names, I get 0's for quantification of regions on chromosomes 10-19.
If I sort the BED file so that numeric chromosomes are in numeric order (to match BAM files), I get the following error I think from wiggleTools:
"Position 10:714133 is before 9:140899137"
even though the BED file looks like
The text was updated successfully, but these errors were encountered: