-
Notifications
You must be signed in to change notification settings - Fork 355
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
tabix Error [E::hts_idx_push] chromosome blocks not continuous #624
Comments
Weird, works fine for me:
What version of sort is on your machine? I have an old version:
The -V option won't do it because you need a super new version of sort, which we can't guarantee. |
Yep, it mush be a version thing. Does it work for toy with sort -k1,1V -k2,2n ? [ipedroso@jimi ~]$ sort --version Escrito por Mike Haertel y Paul Eggert. On Oct 1, 2014, at 15:24, Rory Kirchner notifications@github.com wrote:
|
Hi Inti, Nope, -V doesn't work on my older version of sort. What version are you using? It is weird that the first commnand doesn't work! |
sorry the version got hidden on previous message
|
Hi, I have 8.21 and it works with and without -V ... |
Hi Lorena, [ipedroso@jimi ~]$ uname -a On Oct 1, 2014, at 15:31, Lorena notifications@github.com wrote:
|
Linux miro 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux this is weird :) |
Is it possible to pack sort within the bcbio-nextgen installation using cloudbiolinux? |
Works fine in CentOS 5 with an old version of sort. The changelog between 8.21 and 8.22 doesn't have any clues. Uhhh... I'm at a loss. |
sort -k1,1 -k2,2 it works fine on my mac os laptop with
|
only I can think of compaling |
Most recent version works: sort (GNU coreutils) 8.23, this is odd On Oct 1, 2014, at 15:59, Lorena notifications@github.com wrote:
|
Hm-- maybe a bug in 8.22? Changelog does't seem like it but maybe? |
Hello, |
Is this referring to usage/indexing with bcbio? If you're having a general problem with CrossMap or samtools indexing the htslib ((http://www.htslib.org/) or CrossMap folks (http://crossmap.sourceforge.net/#contact) would be more able to help. My guess is you need to sort the BAM file after running CrossMap. |
I have tried to sort bam file after CrossMap. No help at all. |
It's a little strange here, my sort version is 8.22 and only
|
$ tabix -p vcf xxx.PASS.mac1.vcf.gz How should I operate on a VCF file? |
I have resolved this issue. zcat xxx.PASS.vcf.gz |grep "^#" >xxx.PASS.vcf.gz.header |
Hi @chapmanb ,
I think I tracked down this error message which I reported before on #613 .
It turns out that what happens is exactly what the message says ...
Briefly, the pipeline sorts the bed file by chromosome and position. However, for some reason they are not sorted properly on the chromosome name. Using the sort command of the pipeline I am getting this which is not sorted properly by chromosome, which means that "chromosome blocks not continuous"
I found here https://www.biostars.org/p/64687/ that using the V option on the sort would solve the problem
and it actually works :), see example below
and with the V option added
The BioStart post says that it may not work on all sort installations so I am not sure how this will work on every installation.
The text was updated successfully, but these errors were encountered: