bioinformaticsfastqpicard

Unrecognized option: I picard.jar


I am trying to convert a BMA file into FASTQ format, using picard.jar. This is my command:

java -jar /opt/picard-tools/picard.jar SamToFastq \ I=chr2chr3.bam \ FASTQ=chr2chr3.f1.fastq \ SECOND_END_FASTQ=chr2chr3.f2.fastq

However I got this error message:

ERROR: Unrecognized option: I

I am totally confused, Any thoughts?


Solution

  • remove the backslashes

    java -jar /opt/picard-tools/picard.jar SamToFastq  I=chr2chr3.bam  FASTQ=chr2chr3.f1.fastq  SECOND_END_FASTQ=chr2chr3.f2.fastq
    

    note: