# HG changeset patch # User devteam # Date 1390940022 18000 # Node ID b4f78b7ad8b166f059c0701019fd48931a041727 # Parent 48b3fe2734565f1381124f5f1b9426a9cecf53ce Uploaded diff -r 48b3fe273456 -r b4f78b7ad8b1 picard_MergeSam.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/picard_MergeSam.xml Tue Jan 28 15:13:42 2014 -0500 @@ -0,0 +1,72 @@ + + + merges SAM or BAM files together + picard + + mergesam_wrapper.sh $output1 $outformat I=$input1 I=$input2 + #for $i in $inputs + I=${i.input} + #end for + MSD=$mergeSD VALIDATION_STRINGENCY=LENIENT TMP_DIR=$__new_file_path__ + 2> $outlog + ##|| echo "Error running Picard MergeSamFiles" >&2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**What it does** + +This tool uses the Picard_ merge command to merge any number of BAM files together into one BAM file while preserving the BAM +metadata such as read groups + +.. _Picard: http://picard.sourceforge.net/command-line-overview.shtml#MergeSamFiles + + +