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

QSamToFastq.java exception #281

Open
ChristinaXu2017 opened this issue Sep 20, 2021 · 0 comments
Open

QSamToFastq.java exception #281

ChristinaXu2017 opened this issue Sep 20, 2021 · 0 comments

Comments

@ChristinaXu2017
Copy link
Contributor

ChristinaXu2017 commented Sep 20, 2021

Describe the bug
There is an in-house tool converting BAM to Fastq, but it throws exceptions now.

To Reproduce
Steps to reproduce the behavior:

  1. run 'java -cp $ADAMA_HOME/build/lib/qpicard.jar org.qcmg.picard.fastq.QSamToFastq I=$bam FASTQ=$fr1 SECOND_END_FASTQ=$fr2 RC=Boolean'
  2. get exception

Expected behavior
no Exception expected

Screenshots
`$bash run.sh

Picked up JAVA_TOOL_OPTIONS: -XX:+UseSerialGC
[Tue Sep 21 09:19:48 AEST 2021] org.qcmg.picard.fastq.QSamToFastq INPUT=/mnt/lustre/working/genomeinfo/share/testdataXu/qprofiler2/bam2fastq/test.bam FASTQ=/mnt/lustre/working/genomeinfo/share/testdataXu/qprofiler2/bam2fastq/qsam2fastq/r1.fastq SECOND_END_FASTQ=/mnt/lustre/working/genomeinfo/share/testdataXu/qprofiler2/bam2fastq/qsam2fastq/r2.fastq RE_REVERSE=false OUTPUT_PER_RG=false INCLUDE_NON_PF_READS=false READ1_TRIM=0 READ2_TRIM=0 INCLUDE_NON_PRIMARY_ALIGNMENTS=false VERBOSITY=INFO QUIET=false VALIDATION_STRINGENCY=STRICT COMPRESSION_LEVEL=5 MAX_RECORDS_IN_RAM=500000 CREATE_INDEX=false CREATE_MD5_FILE=false

Exception in thread "main" java.lang.NoSuchMethodError: htsjdk.samtools.util.zip.DeflaterFactory.usingIntelDeflater()Z
at picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:174)
at org.qcmg.picard.fastq.QSamToFastq.main(QSamToFastq.java:111)`

Desktop (please complete the following information):

  • OS: linux on cluster
  • Version: adama java 78-43982c9

Additional context
I guess the imported libraries version conflicts

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

1 participant