Revision as of 16:55, 10 August 2012 by Moskalenko (talk | contribs) (Text replace - "{{#if: {{#var: mod}}|==Execution Environment and Modules== {{App_Module|app={{#var:app}}|intel={{#var:intel}}|mpi={{#var:mpi}}}}|}}" to "==Required Modules== modules documentation ===Serial=== *{{#var:app}}")
Jump to navigation Jump to search


picard website  

SAM (Sequence Alignment/Map) format is a generic format for storing large nucleotide sequence alignments. SAM is described in the SAMtools project page.

Picard comprises Java-based command-line utilities that manipulate SAM files, and a Java API (SAM-JDK) for creating new programs that read and write SAM files. Both SAM text format and SAM binary (BAM) format are supported.

Picard does not have its own mailing lists. Please use the SAMTools mailing Lists for Picard-related correspondence.

Required Modules

modules documentation


  • picard

See the samtools HPC wiki page for more details on Samtools.

How To Run

There is a convenience symlink to the latest picard directory in the addition to the $HPC_PICARD_DIR set by the picard module as


So picard jars can be run both as

java -Xms1g -Xmx8g -jar /apps/picard/bin/ReorderSam.jar


java -Xms1g -Xmx8g -jar $HPC_PICARD_DIR/ReorderSam.jar

To run picard tools with non-default java memory settings you can set the minimum and the maximum heap memory in the command. For example:

java -Xms1g -Xmx8g -jar /apps/picard/bin/ReorderSam.jar INPUT=input.bam OUTPUT=output.bam VALIDATION_STRINGENCY=LENIENT REFERENCE=ref.fasta CREATE_INDEX=true