# HG changeset patch # User devteam # Date 1392759166 18000 # Node ID b5063e189f570eb1bb8b24952f4dceebbe972b1e # Parent 5de8c5774a108c3f9c35ba3d88603d0a5246f55c Deleted selected files diff -r 5de8c5774a10 -r b5063e189f57 picard_DownsampleSam.xml --- a/picard_DownsampleSam.xml Tue Feb 18 15:57:17 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,57 +0,0 @@ - - - picard - - picard_wrapper.py - --input=$inputFile - --output=$outFile - --probability=$probability - --seed=$seed - -j "\$JAVA_JAR_PATH/DownsampleSam.jar" - - - - - - - - - - - - - - - - - - - - - -.. class:: infomark - -**Purpose** - -Randomly down-sample a SAM or BAM file to retain a random subset of the reads. Mate-pairs are either both kept or both discarded. Reads marked as not primary alignments are all discarded. Each read is given a probability P of being retained - results with the exact same input in the same order and with the same value for RANDOM_SEED will produce the same results. - -**Picard documentation** - -This is a Galaxy wrapper for DownsampleSam, a part of the external package Picard-tools_. - - .. _Picard-tools: http://www.google.com/search?q=picard+samtools - ------- - -.. class:: warningmark - -**Warning on SAM/BAM quality** - -Many SAM/BAM files produced externally and uploaded to Galaxy do not fully conform to SAM/BAM specifications. Galaxy deals with this by using the **LENIENT** -flag when it runs Picard, which allows reads to be discarded if they're empty or don't map. This appears -to be the only way to deal with SAM/BAM that cannot be parsed. - - - - \ No newline at end of file