Category

Sam/Bam Manipulation


Usage

java -jar picard.jar DownsampleSam I=input.bam O=downsampled.bam


Manual

INPUT (File)    The input SAM or BAM file to downsample. Required.
OUTPUT (File)    The output, downsampled, SAM or BAM file to write. Required.
STRATEGY (Strategy)    The downsampling strategy to use. See usage for discussion. Default value: ConstantMemory. This option can be set to 'null' to clear the default value. Possible values: {HighAccuracy, ConstantMemory, Chained}
RANDOM_SEED (Integer)    Random seed to use if deterministic behavior is desired. Setting to null will cause multiple invocations to produce different results. Default value: 1. This option can be set to 'null' to clear the default value.
PROBABILITY (Double)    The probability of keeping any individual read, between 0 and 1. Default value: 1.0. This option can be set to 'null' to clear the default value.
ACCURACY (Double)    The accuracy that the downsampler should try to achieve if the selected strategy supports it. Note that accuracy is never guaranteed, but some strategies will attempt to provide accuracy within the requested bounds.Higher accuracy will generally require more memory. Default value: 1.0E-4. This option can be set to 'null' to clear the default value.


Share your experience or ask a question