Repository revision
33:3f254c5ced1d

Repository 'picard'
hg clone https://toolshed.g2.bx.psu.edu/repos/devteam/picard

Downsample SAM/BAM tool metadata
Miscellaneous
Downsample a file to retain a subset of the reads
picard_DownsampleSam
toolshed.g2.bx.psu.edu/repos/devteam/picard/picard_DownsampleSam/3.1.1.0
3.1.1.0
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/devteam/picard/picard_DownsampleSam/3.1.1.0 (this tool)
toolshed.g2.bx.psu.edu/repos/devteam/picard/picard_DownsampleSam/2.18.2.1
toolshed.g2.bx.psu.edu/repos/devteam/picard/picard_DownsampleSam/2.18.2.0
toolshed.g2.bx.psu.edu/repos/devteam/picard/picard_DownsampleSam/2.7.1.0
toolshed.g2.bx.psu.edu/repos/devteam/picard/picard_DownsampleSam/1.136.0
toolshed.g2.bx.psu.edu/repos/devteam/picard/picard_DownsampleSam/1.126.0
picard_DownsampleSam
Requirements (dependencies defined in the <requirements> tag set)
name version type
picard 3.1.1 package
Additional information about this tool
_JAVA_OPTIONS=\${_JAVA_OPTIONS:-"-Xmx2048m -Xms256m -Djava.io.tmpdir=\${TMPDIR:-\${_GALAXY_JOB_TMPDIR}}"} &&
    export _JAVA_OPTIONS &&
    
    
    #import re
    #set escaped_element_identifier = re.sub('[^\w\-]', '_', str($inputFile.element_identifier))
    ln -sf '$inputFile' '$escaped_element_identifier' &&
    
    picard
    DownsampleSam
      --INPUT '$escaped_element_identifier'
      --OUTPUT '${outFile}'
      --PROBABILITY ${probability}
      --RANDOM_SEED ${seed}
      --QUIET true
      --VERBOSITY ERROR
      --VALIDATION_STRINGENCY ${validation_stringency}
  
None
False
Functional tests
name inputs outputs required files
Test-1 inputFile: picard_DownsampleSam.bam
probability: 0.1
seed: 1024
validation_stringency: LENIENT
name: value
picard_DownsampleSam.bam
value