Picard

From UFRC
Revision as of 17:53, 10 August 2012 by Moskalenko (talk | contribs) (Text replace - "|{{#vardefine:intel|}} <!-- E.g. "11.1" --> |{{#vardefine:mpi|}} <!-- E.g. "openmpi/1.3.4" -->" to "")
Jump to navigation Jump to search



Description

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

Serial

  • 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

/apps/picard/bin

So picard jars can be run both as

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

and

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