Picard downsample metric file
1
0
Entering edit mode
6 months ago
mavy ▴ 10

Hello,

I am trying to downsample my bam file using picard , using the following command. The documentation states that the Metrics_file is a optional parameter, though its giving me the error , the command I am using is

java -jar /home/apps/software/picard/2.10.1-Java-1.8.0_152/picard.jar DownsampleSam I= myinput_unique_rmdup.bam O=2myinput_downsampled.bam STRATEGY=HighAccuracy P=0.859826418

and following is the error that's coming up

To execute picard run 'picard'.  This command executes 'java -jar /home/apps/software/picard/2.10.1-Java-1.8.0_152/picard.jar'
ERROR: Option 'METRICS_FILE' is required.

I would really appreciate any help or suggestions?

A little about the data: I am working on CHip seq data, and the files are input and IP bam file that I want to downsample

Picard • 417 views
ADD COMMENT
1
Entering edit mode
6 months ago
GenoMax 142k

I= myinput_unique_rmdup.bam

Is there an extra space between = and file name?

ADD COMMENT
0
Entering edit mode

Thankyou for your reply , yes exactly there was extra space. In addition to that loading the latest version of picard also worked for me .

ADD REPLY

Login before adding your answer.

Traffic: 2550 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