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

complains about "the output is not to a file" with -r variable specified: #64

Open
Izar-de-villasante opened this issue Jan 17, 2023 · 0 comments
Assignees
Labels

Comments

@Izar-de-villasante
Copy link

Izar-de-villasante commented Jan 17, 2023

JACUSA2 Version: 2.0.1 call-2 -p 72 -filterNH 99 -filterNM 99 -c 3 -f=V -a E:file=dbsnp_138.b37.vcf:type=VCF -r DoxvsADAR3.out BAM_files/H2171_1_Dox_S1/H2171_1_Dox_S1_sorted.bam,BAM_files/H2171_1_Dox_S2/H2171_1_Dox_S2_sorted.bam,BAM_files/H2171_1_Dox_S3/H2171_1_Dox_S3_sorted.bam BAM_files/H2171_4_Dox_S1/H2171_4_Dox_S1_sorted.bam,BAM_files/H2171_4_Dox_S2/H2171_4_Dox_S2_sorted.bam,BAM_files/H2171_4_Dox_S3/H2171_4_Dox_S3_sorted.bam

I tried to remove the -f=V option but then complains that it needs the format specified.

java.lang.IllegalArgumentException: Cannot set a file type if the output is not to a file.
at htsjdk.variant.variantcontext.writer.VariantContextWriterBuilder.setOutputFileType(VariantContextWriterBuilder.java:185)
at jacusa.io.format.call.VCFcallWriter.(VCFcallWriter.java:59)
at jacusa.io.format.call.VCFcallFormat.createWriter(VCFcallFormat.java:41)
at lib.worker.WorkerDispatcher.(WorkerDispatcher.java:43)
at lib.util.AbstractMethod.getWorkerDispatcherInstance(AbstractMethod.java:63)
at lib.util.AbstractTool.run(AbstractTool.java:59)
at jacusa.JACUSA.main(JACUSA.java:96)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

@piechottam piechottam self-assigned this Jan 18, 2023
@piechottam piechottam added the bug label Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants