Hamid_UMB
Hamid_UMB

Reputation: 337

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?

Upvotes: 0

Views: 547

Answers (2)

Pierre
Pierre

Reputation: 35246

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:

Upvotes: 2

Try with :

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

Upvotes: 0

Related Questions