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: Features added out of order #11

Open
changd15 opened this issue May 19, 2017 · 2 comments
Open

Error: Features added out of order #11

changd15 opened this issue May 19, 2017 · 2 comments

Comments

@changd15
Copy link

Hi,
When I run asdpex-cli-0.2.jar, I get the following error on a few samples. I have ensured that the input files have been sorted. Any help would be greatly appreciated! Thanks!

**************[WARN] found no 'first' ASDP for region REGION160 set to region start.
[WARN] found no 'last' ASDP for region REGION160 set to region stop.
****Exception in thread "main" java.lang.IllegalArgumentException: Features added out of order: previous (TabixFeature{referenceIndex=13, start=105573251, end=105573293, featureStartFilePosition=451911835841, featureEndFilePosition=-1}) > next (TabixFeature{referenceIndex=13, start=105573221, end=105573267, featureStartFilePosition=451911836245, featureEndFilePosition=-1})
at htsjdk.tribble.index.tabix.TabixIndexCreator.addFeature(TabixIndexCreator.java:89)
at htsjdk.variant.variantcontext.writer.IndexingVariantContextWriter.add(IndexingVariantContextWriter.java:170)
at htsjdk.variant.variantcontext.writer.VCFWriter.add(VCFWriter.java:219)
at de.charite.compbio.asdpex.cmd.AnnotatedVariantWriter.put(AnnotatedVariantWriter.java:62)
at de.charite.compbio.asdpex.cmd.AnnotateVCFCommand.writeVariants(AnnotateVCFCommand.java:320)
at de.charite.compbio.asdpex.cmd.AnnotateVCFCommand.run(AnnotateVCFCommand.java:292)
at de.charite.compbio.asdpex.App.main(App.java:58)
make: *** [sortvcf] Error 1

@pnrobinson
Copy link
Contributor

pnrobinson commented May 19, 2017 via email

@changd15
Copy link
Author

Sure thing. I have vcfs for several samples and am trying to run the ASDP extraction algorithm on them. The ASDP extraction ran successfully for a majority of the samples, but failed with above error for a few of them. I ran the following command:
java -jar target/asdpex-cli-0.2.jar annotate -a allASDPs.SNV.50_10.valid.sorted.vcf.gz -d ${asdpdir}/data/ -v vcfs/${sample}_sorted.vcf.gz -o asdpex/${sample}_sorted.asdp.vcf.gz -s ${asdpdir}/asdpex.sqlite

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