picard FastqToSam is giving me "File not found"
1
0
Entering edit mode
4.0 years ago

when i run the following:

~ $picard FastqToSam \

F1=usr/local/Cellar/picard-tools/2.22.3/bin/untrimmed_reads.fastq \

O=unaligned_reads.bam \

SM=sample001 \

RG=r0013

I get

-bash: F1=usr/local/Cellar/picard-tools/2.22.3/bin/untrimmed_reads.fastq: No such file or directory

Running

~ $picard FastqToSam -h

gets me the help screen.

changing my directory and running

java -jar picard.jar FastqToSam \

F1=usr/local/Cellar/picard-tools/2.22.3/bin/untrimmed_reads.fastq \

O=unaligned_reads.bam \

SM=sample001 \

RG=r0013

Also, doesn't work.

What am I doing wrong? The file exists!

RNA-Seq alignment • 845 views
ADD COMMENT
0
Entering edit mode

Figured it out. problem two was my issue. This is the first time I've ever messed with anything more then python scripts and I didn't realize how different usr is from user.

ADD REPLY
1
Entering edit mode
4.0 years ago

1) what is the output of

ls usr/local/Cellar/picard-tools/2.22.3/bin/untrimmed_reads.fastq

and

ls /usr/local/Cellar/picard-tools/2.22.3/bin/untrimmed_reads.fastq

2) what a bad place to put this untrimmed_reads.fastq.

ADD COMMENT

Login before adding your answer.

Traffic: 2028 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6