annotate picard_MergeBamAlignment.xml @ 26:30ee72a4ca0c draft

Deleted selected files
author devteam
date Thu, 13 Feb 2014 15:36:11 -0500
parents 960090a64944
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
960090a64944 Uploaded
devteam
parents:
diff changeset
1 <tool id="picard_mergeBAMAlignment" name="Merge BAM Alignment" version="1.106.0">
960090a64944 Uploaded
devteam
parents:
diff changeset
2 <!-- Documentation: http://picard.sourceforge.net/command-line-overview.shtml#MergeBamAlignment
960090a64944 Uploaded
devteam
parents:
diff changeset
3 Merges alignment data from a SAM or BAM file with additional data stored in an unmapped BAM file and produces a third SAM or BAM file of aligned and unaligned reads. NOTE that this program expects to find a sequence dictionary in the same directory as REFERENCE_SEQUENCE and expects it to have the same base name as the reference fasta except with the extension '.dict'
960090a64944 Uploaded
devteam
parents:
diff changeset
4
960090a64944 Uploaded
devteam
parents:
diff changeset
5 OUTPUT=File Merged SAM or BAM file to write to. Required.
960090a64944 Uploaded
devteam
parents:
diff changeset
6 REFERENCE_SEQUENCE=File Path to the fasta file for the reference sequence. Required.
960090a64944 Uploaded
devteam
parents:
diff changeset
7 -->
960090a64944 Uploaded
devteam
parents:
diff changeset
8 <description>Merges alignment data from a SAM or BAM file with additional data stored in an unmapped BAM file</description>
960090a64944 Uploaded
devteam
parents:
diff changeset
9 <requirements><requirement type="package" version="1.106.0">picard</requirement></requirements>
960090a64944 Uploaded
devteam
parents:
diff changeset
10 <command interpreter="bash">
960090a64944 Uploaded
devteam
parents:
diff changeset
11 mergebamalignment_wrapper.sh $output1 $outformat $REFERENCE_SEQUENCE UNMAPPED_BAM=$UNMAPPED_BAM PAIRED_RUN=$PAIRED_RUN
960090a64944 Uploaded
devteam
parents:
diff changeset
12
960090a64944 Uploaded
devteam
parents:
diff changeset
13 ## optional arguments from here
960090a64944 Uploaded
devteam
parents:
diff changeset
14
960090a64944 Uploaded
devteam
parents:
diff changeset
15 #if str( $ALIGNED_BAM ):
960090a64944 Uploaded
devteam
parents:
diff changeset
16 ALIGNED_BAM=$ALIGNED_BAM
960090a64944 Uploaded
devteam
parents:
diff changeset
17 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
18 #for $i in $ALIGNED_BAMs
960090a64944 Uploaded
devteam
parents:
diff changeset
19 ALIGNED_BAM=${i.ALIGNED_BAM_file}
960090a64944 Uploaded
devteam
parents:
diff changeset
20 #end for
960090a64944 Uploaded
devteam
parents:
diff changeset
21
960090a64944 Uploaded
devteam
parents:
diff changeset
22 #if str( $READ1_ALIGNED_BAM ):
960090a64944 Uploaded
devteam
parents:
diff changeset
23 READ1_ALIGNED_BAM=$READ1_ALIGNED_BAM
960090a64944 Uploaded
devteam
parents:
diff changeset
24 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
25 #for $i in $READ1_ALIGNED_BAMs
960090a64944 Uploaded
devteam
parents:
diff changeset
26 READ1_ALIGNED_BAM=${i.READ1_ALIGNED_BAM_file}
960090a64944 Uploaded
devteam
parents:
diff changeset
27 #end for
960090a64944 Uploaded
devteam
parents:
diff changeset
28
960090a64944 Uploaded
devteam
parents:
diff changeset
29 #if str( $ATTRIBUTES_TO_RETAIN ):
960090a64944 Uploaded
devteam
parents:
diff changeset
30 ATTRIBUTES_TO_RETAIN=$ATTRIBUTES_TO_RETAIN
960090a64944 Uploaded
devteam
parents:
diff changeset
31 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
32 #for $i in $ATTRIBUTES_TO_RETAINs
960090a64944 Uploaded
devteam
parents:
diff changeset
33 ATTRIBUTES_TO_RETAIN=${i.ATTRIBUTES_TO_RETAIN_extra}
960090a64944 Uploaded
devteam
parents:
diff changeset
34 #end for
960090a64944 Uploaded
devteam
parents:
diff changeset
35
960090a64944 Uploaded
devteam
parents:
diff changeset
36 #if str( $READ2_ALIGNED_BAM ):
960090a64944 Uploaded
devteam
parents:
diff changeset
37 READ2_ALIGNED_BAM=$READ2_ALIGNED_BAM
960090a64944 Uploaded
devteam
parents:
diff changeset
38 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
39 #for $i in $READ2_ALIGNED_BAMs
960090a64944 Uploaded
devteam
parents:
diff changeset
40 READ2_ALIGNED_BAM=${i.READ2_ALIGNED_BAM_file}
960090a64944 Uploaded
devteam
parents:
diff changeset
41 #end for
960090a64944 Uploaded
devteam
parents:
diff changeset
42
960090a64944 Uploaded
devteam
parents:
diff changeset
43 #if str( $PROGRAM_RECORD_ID ):
960090a64944 Uploaded
devteam
parents:
diff changeset
44 PROGRAM_RECORD_ID=$PROGRAM_RECORD_ID
960090a64944 Uploaded
devteam
parents:
diff changeset
45 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
46
960090a64944 Uploaded
devteam
parents:
diff changeset
47 #if str( $PROGRAM_GROUP_VERSION ):
960090a64944 Uploaded
devteam
parents:
diff changeset
48 PROGRAM_GROUP_VERSION=$PROGRAM_GROUP_VERSION
960090a64944 Uploaded
devteam
parents:
diff changeset
49 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
50
960090a64944 Uploaded
devteam
parents:
diff changeset
51 #if str( $PROGRAM_GROUP_COMMAND_LINE ):
960090a64944 Uploaded
devteam
parents:
diff changeset
52 PROGRAM_GROUP_COMMAND_LINE=$PROGRAM_GROUP_COMMAND_LINE
960090a64944 Uploaded
devteam
parents:
diff changeset
53 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
54
960090a64944 Uploaded
devteam
parents:
diff changeset
55 #if str( $PROGRAM_GROUP_NAME ):
960090a64944 Uploaded
devteam
parents:
diff changeset
56 PROGRAM_GROUP_NAME=$PROGRAM_GROUP_NAME
960090a64944 Uploaded
devteam
parents:
diff changeset
57 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
58
960090a64944 Uploaded
devteam
parents:
diff changeset
59 #if str( $CLIP_ADAPTERS ):
960090a64944 Uploaded
devteam
parents:
diff changeset
60 CLIP_ADAPTERS=$CLIP_ADAPTERS
960090a64944 Uploaded
devteam
parents:
diff changeset
61 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
62
960090a64944 Uploaded
devteam
parents:
diff changeset
63 #if str( $IS_BISULFITE_SEQUENCE ):
960090a64944 Uploaded
devteam
parents:
diff changeset
64 IS_BISULFITE_SEQUENCE=$IS_BISULFITE_SEQUENCE
960090a64944 Uploaded
devteam
parents:
diff changeset
65 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
66
960090a64944 Uploaded
devteam
parents:
diff changeset
67 #if str( $ALIGNED_READS_ONLY ):
960090a64944 Uploaded
devteam
parents:
diff changeset
68 ALIGNED_READS_ONLY=$ALIGNED_READS_ONLY
960090a64944 Uploaded
devteam
parents:
diff changeset
69 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
70
960090a64944 Uploaded
devteam
parents:
diff changeset
71 #if str( $MAX_INSERTIONS_OR_DELETIONS ):
960090a64944 Uploaded
devteam
parents:
diff changeset
72 MAX_INSERTIONS_OR_DELETIONS=$MAX_INSERTIONS_OR_DELETIONS
960090a64944 Uploaded
devteam
parents:
diff changeset
73 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
74
960090a64944 Uploaded
devteam
parents:
diff changeset
75 #if str( $READ1_TRIM ):
960090a64944 Uploaded
devteam
parents:
diff changeset
76 READ1_TRIM=$READ1_TRIM
960090a64944 Uploaded
devteam
parents:
diff changeset
77 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
78
960090a64944 Uploaded
devteam
parents:
diff changeset
79 #if str( $READ2_TRIM ):
960090a64944 Uploaded
devteam
parents:
diff changeset
80 READ2_TRIM=$READ2_TRIM
960090a64944 Uploaded
devteam
parents:
diff changeset
81 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
82
960090a64944 Uploaded
devteam
parents:
diff changeset
83 #if str( $EXPECTED_ORIENTATIONS ):
960090a64944 Uploaded
devteam
parents:
diff changeset
84 EXPECTED_ORIENTATIONS=$EXPECTED_ORIENTATIONS
960090a64944 Uploaded
devteam
parents:
diff changeset
85 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
86
960090a64944 Uploaded
devteam
parents:
diff changeset
87 #if str( $SORT_ORDER ):
960090a64944 Uploaded
devteam
parents:
diff changeset
88 SORT_ORDER=$SORT_ORDER
960090a64944 Uploaded
devteam
parents:
diff changeset
89 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
90
960090a64944 Uploaded
devteam
parents:
diff changeset
91 #if str( $PRIMARY_ALIGNMENT_STRATEGY ):
960090a64944 Uploaded
devteam
parents:
diff changeset
92 PRIMARY_ALIGNMENT_STRATEGY=$PRIMARY_ALIGNMENT_STRATEGY
960090a64944 Uploaded
devteam
parents:
diff changeset
93 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
94
960090a64944 Uploaded
devteam
parents:
diff changeset
95 #if str( $CLIP_OVERLAPPING_READS ):
960090a64944 Uploaded
devteam
parents:
diff changeset
96 CLIP_OVERLAPPING_READS=$CLIP_OVERLAPPING_READS
960090a64944 Uploaded
devteam
parents:
diff changeset
97 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
98
960090a64944 Uploaded
devteam
parents:
diff changeset
99 #if str( $INCLUDE_SECONDARY_ALIGNMENTS ):
960090a64944 Uploaded
devteam
parents:
diff changeset
100 INCLUDE_SECONDARY_ALIGNMENTS=$INCLUDE_SECONDARY_ALIGNMENTS
960090a64944 Uploaded
devteam
parents:
diff changeset
101 #end if
960090a64944 Uploaded
devteam
parents:
diff changeset
102
960090a64944 Uploaded
devteam
parents:
diff changeset
103 VALIDATION_STRINGENCY=LENIENT TMP_DIR=$__new_file_path__
960090a64944 Uploaded
devteam
parents:
diff changeset
104 2&gt; $outlog
960090a64944 Uploaded
devteam
parents:
diff changeset
105 ##|| echo "Error running Picard MergeBamAlignment" >&amp;2
960090a64944 Uploaded
devteam
parents:
diff changeset
106 </command>
960090a64944 Uploaded
devteam
parents:
diff changeset
107 <inputs>
960090a64944 Uploaded
devteam
parents:
diff changeset
108 <!-- required arguments below -->
960090a64944 Uploaded
devteam
parents:
diff changeset
109 <param name="title" label="Name for the output merged BAM or SAM file" type="text" default="Merged.bam" help="This name will appear in your history so use it to remember what the new file in your history contains" />
960090a64944 Uploaded
devteam
parents:
diff changeset
110 <param name="outformat" type="select" label="Output format" >
960090a64944 Uploaded
devteam
parents:
diff changeset
111 <option value="bam" selected="True">BAM</option>
960090a64944 Uploaded
devteam
parents:
diff changeset
112 <option value="sam">SAM</option>
960090a64944 Uploaded
devteam
parents:
diff changeset
113 </param>
960090a64944 Uploaded
devteam
parents:
diff changeset
114 <param name="UNMAPPED_BAM" label="Original SAM or BAM file of unmapped reads, which must be in queryname order. Required." type="data" format="bam,sam" />
960090a64944 Uploaded
devteam
parents:
diff changeset
115 <param name="REFERENCE_SEQUENCE" label="Path to the fasta file for the reference sequence. Required." type="data" format="fasta" />
960090a64944 Uploaded
devteam
parents:
diff changeset
116 <param name="PAIRED_RUN" value="true" type="boolean" label="Whether this is a paired-end run. Required." truevalue="true" falsevalue="false" checked="yes" />
960090a64944 Uploaded
devteam
parents:
diff changeset
117 <!-- optional arguments below -->
960090a64944 Uploaded
devteam
parents:
diff changeset
118 <param name="ALIGNED_BAM" label="SAM or BAM file(s) with alignment data. This option may be specified 0 or more times. Cannot be used in conjuction with option(s) READ1_ALIGNED_BAM (R1_ALIGNED) READ2_ALIGNED_BAM (R2_ALIGNED)" type="data" format="bam,sam" help="Need to add more files? Use controls below." />
960090a64944 Uploaded
devteam
parents:
diff changeset
119 <repeat name="ALIGNED_BAMs" title="More ALIGNED_BAMs">
960090a64944 Uploaded
devteam
parents:
diff changeset
120 <param name="ALIGNED_BAM_file" label="ALIGNED_BAM" type="data" format="bam,sam" />
960090a64944 Uploaded
devteam
parents:
diff changeset
121 </repeat>
960090a64944 Uploaded
devteam
parents:
diff changeset
122 <param name="READ1_ALIGNED_BAM" label="SAM or BAM file(s) with alignment data from the first read of a pair. This option may be specified 0 or more times. Cannot be used in conjuction with option(s) ALIGNED_BAM (ALIGNED)" type="data" format="bam,sam" help="Need to add more files? Use controls below." />
960090a64944 Uploaded
devteam
parents:
diff changeset
123 <repeat name="READ1_ALIGNED_BAMs" title="More READ1_ALIGNED_BAMs">
960090a64944 Uploaded
devteam
parents:
diff changeset
124 <param name="READ1_ALIGNED_BAM_file" label="READ1_ALIGNED_BAM" type="data" format="bam,sam" />
960090a64944 Uploaded
devteam
parents:
diff changeset
125 </repeat>
960090a64944 Uploaded
devteam
parents:
diff changeset
126 <param name="READ2_ALIGNED_BAM" label="SAM or BAM file(s) with alignment data from the second read of a pair. This option may be specified 0 or more times. Cannot be used in conjuction with option(s) ALIGNED_BAM (ALIGNED)" type="data" format="bam,sam" help="Need to add more files? Use controls below." />
960090a64944 Uploaded
devteam
parents:
diff changeset
127 <repeat name="READ2_ALIGNED_BAMs" title="More READ2_ALIGNED_BAMs">
960090a64944 Uploaded
devteam
parents:
diff changeset
128 <param name="READ2_ALIGNED_BAM_file" label="READ2_ALIGNED_BAM" type="data" format="bam,sam" />
960090a64944 Uploaded
devteam
parents:
diff changeset
129 </repeat>
960090a64944 Uploaded
devteam
parents:
diff changeset
130 <param name="PROGRAM_RECORD_ID" label="The program group ID of the aligner (if not supplied by the aligned file)." type="text" default="" />
960090a64944 Uploaded
devteam
parents:
diff changeset
131 <param name="PROGRAM_GROUP_VERSION" label="The version of the program group (if not supplied by the aligned file)." type="text" default="" />
960090a64944 Uploaded
devteam
parents:
diff changeset
132 <param name="PROGRAM_GROUP_COMMAND_LINE" label="The command line of the program group (if not supplied by the aligned file)." type="text" default="" />
960090a64944 Uploaded
devteam
parents:
diff changeset
133 <param name="PROGRAM_GROUP_NAME" label="The name of the program group (if not supplied by the aligned file)." type="text" default="" />
960090a64944 Uploaded
devteam
parents:
diff changeset
134 <param name="CLIP_ADAPTERS" value="true" type="boolean" label="Whether to clip adapters where identified. Default value: true." truevalue="true" falsevalue="false" checked="yes" />
960090a64944 Uploaded
devteam
parents:
diff changeset
135 <param name="IS_BISULFITE_SEQUENCE" value="false" type="boolean" label="Whether the lane is bisulfite sequence (used when caculating the NM tag)." truevalue="true" falsevalue="false" checked="yes" />
960090a64944 Uploaded
devteam
parents:
diff changeset
136 <param name="ALIGNED_READS_ONLY" value="false" type="boolean" label="Whether to output only aligned reads." truevalue="true" falsevalue="false" checked="yes" />
960090a64944 Uploaded
devteam
parents:
diff changeset
137 <param name="MAX_INSERTIONS_OR_DELETIONS" value="1" type="integer"
960090a64944 Uploaded
devteam
parents:
diff changeset
138 label="The maximum number of insertions or deletions permitted for an alignment to be included."
960090a64944 Uploaded
devteam
parents:
diff changeset
139 help="Alignments with more than this many insertions or deletions will be ignored. Set to -1 to allow any number of insertions or deletions. Default value: 1." />
960090a64944 Uploaded
devteam
parents:
diff changeset
140
960090a64944 Uploaded
devteam
parents:
diff changeset
141 <param name="ATTRIBUTES_TO_RETAIN" label="Reserved alignment attributes (tags starting with X, Y, or Z) that should be brought over from the alignment data when merging. This option may be specified 0 or more times." type="text" default="" />
960090a64944 Uploaded
devteam
parents:
diff changeset
142 <repeat name="ATTRIBUTES_TO_RETAINs" title="More ATTRIBUTES_TO_RETAIN">
960090a64944 Uploaded
devteam
parents:
diff changeset
143 <param name="ATTRIBUTES_TO_RETAIN_extra" label="ATTRIBUTES_TO_RETAIN" type="text" default="" />
960090a64944 Uploaded
devteam
parents:
diff changeset
144 </repeat>
960090a64944 Uploaded
devteam
parents:
diff changeset
145 <param name="READ1_TRIM" value="0" type="integer" label="The number of bases trimmed from the beginning of read 1 prior to alignment"/>
960090a64944 Uploaded
devteam
parents:
diff changeset
146 <param name="READ2_TRIM" value="0" type="integer" label="The number of bases trimmed from the beginning of read 2 prior to alignment"/>
960090a64944 Uploaded
devteam
parents:
diff changeset
147 <param name="EXPECTED_ORIENTATIONS" label="The name of the program group (if not supplied by the aligned file)." type="select">
960090a64944 Uploaded
devteam
parents:
diff changeset
148 <option value="null" selected="True">null</option>
960090a64944 Uploaded
devteam
parents:
diff changeset
149 <option value="FR">FR</option>
960090a64944 Uploaded
devteam
parents:
diff changeset
150 <option value="RF">RF</option>
960090a64944 Uploaded
devteam
parents:
diff changeset
151 <option value="TANDEM">TANDEM</option>
960090a64944 Uploaded
devteam
parents:
diff changeset
152 </param>
960090a64944 Uploaded
devteam
parents:
diff changeset
153 <param name="SORT_ORDER" label="The order in which the merged reads should be output. Default value: coordinate." type="select">
960090a64944 Uploaded
devteam
parents:
diff changeset
154 <option value="coordinate" selected="True">coordinate</option>
960090a64944 Uploaded
devteam
parents:
diff changeset
155 <option value="queryname">queryname</option>
960090a64944 Uploaded
devteam
parents:
diff changeset
156 <option value="unsorted">unsorted</option>
960090a64944 Uploaded
devteam
parents:
diff changeset
157 </param>
960090a64944 Uploaded
devteam
parents:
diff changeset
158 <param name="PRIMARY_ALIGNMENT_STRATEGY" label="Strategy for selecting primary alignment when the aligner has provided more than one alignment for a pair or fragment, and none are marked as primary, more than one is marked as primary, or the primary alignment is filtered out for some reason." type="select" help="BestMapq expects that multiple alignments will be correlated with HI tag, and prefers the pair of
960090a64944 Uploaded
devteam
parents:
diff changeset
159 alignments with the largest MAPQ, in the absence of a primary selected by the aligner. EarliestFragment prefers the alignment which maps the earliest base in the read. Note that EarliestFragment may not be used for paired reads. BestEndMapq is appropriate for cases in which the aligner is not pair-aware, and does not output the HI tag. It simply picks the alignment for each end with the highest MAPQ, and makes those alignments primary, regardless of whether the two alignments make sense together.MostDistant is also for a non-pair-aware aligner, and picks the alignment pair with the largest insert size. If all alignments would be chimeric, it picks the alignments for each end with the best MAPQ. For all algorithms, ties are resolved arbitrarily. Default value: BestMapq.">
960090a64944 Uploaded
devteam
parents:
diff changeset
160 <option value="BestMapq" selected="True">BestMapq</option>
960090a64944 Uploaded
devteam
parents:
diff changeset
161 <option value="EarliestFragment">EarliestFragment</option>
960090a64944 Uploaded
devteam
parents:
diff changeset
162 <option value="BestEndMapq">BestEndMapq</option>
960090a64944 Uploaded
devteam
parents:
diff changeset
163 <option value="MostDistant">MostDistant</option>
960090a64944 Uploaded
devteam
parents:
diff changeset
164 </param>
960090a64944 Uploaded
devteam
parents:
diff changeset
165
960090a64944 Uploaded
devteam
parents:
diff changeset
166 <param name="CLIP_OVERLAPPING_READS" value="true" type="boolean" label="For paired reads, soft clip the 3' end of each read if necessary so that it does not extend past the 5' end of its mate." truevalue="true" falsevalue="false" checked="yes" />
960090a64944 Uploaded
devteam
parents:
diff changeset
167 <param name="INCLUDE_SECONDARY_ALIGNMENTS" value="true" type="boolean" label="If false, do not write secondary alignments to output." truevalue="true" falsevalue="false" checked="yes" />
960090a64944 Uploaded
devteam
parents:
diff changeset
168 </inputs>
960090a64944 Uploaded
devteam
parents:
diff changeset
169
960090a64944 Uploaded
devteam
parents:
diff changeset
170 <outputs>
960090a64944 Uploaded
devteam
parents:
diff changeset
171 <data format="bam" name="output1" label="${title}.${outformat}" >
960090a64944 Uploaded
devteam
parents:
diff changeset
172 <change_format>
960090a64944 Uploaded
devteam
parents:
diff changeset
173 <when input="outformat" value="sam" format="sam" />
960090a64944 Uploaded
devteam
parents:
diff changeset
174 </change_format>
960090a64944 Uploaded
devteam
parents:
diff changeset
175 </data>
960090a64944 Uploaded
devteam
parents:
diff changeset
176 </outputs>
960090a64944 Uploaded
devteam
parents:
diff changeset
177 <tests>
960090a64944 Uploaded
devteam
parents:
diff changeset
178 <!-- note: this test is untested :) -->
960090a64944 Uploaded
devteam
parents:
diff changeset
179 <test>
960090a64944 Uploaded
devteam
parents:
diff changeset
180 <param name="REFERENCE_SEQUENCE" value="merger.fasta" />
960090a64944 Uploaded
devteam
parents:
diff changeset
181 <param name="UNMAPPED_BAM" value="unmapped.sam" />
960090a64944 Uploaded
devteam
parents:
diff changeset
182 <param name="PAIRED_RUN" value="false" />
960090a64944 Uploaded
devteam
parents:
diff changeset
183 <param name="outformat" value="sam" />
960090a64944 Uploaded
devteam
parents:
diff changeset
184 <output name="output1" file="output_mergebamalignment" lines_diff="1"/>
960090a64944 Uploaded
devteam
parents:
diff changeset
185 </test>
960090a64944 Uploaded
devteam
parents:
diff changeset
186 </tests>
960090a64944 Uploaded
devteam
parents:
diff changeset
187 <help>
960090a64944 Uploaded
devteam
parents:
diff changeset
188
960090a64944 Uploaded
devteam
parents:
diff changeset
189 **What it does**
960090a64944 Uploaded
devteam
parents:
diff changeset
190
960090a64944 Uploaded
devteam
parents:
diff changeset
191 Merges alignment data from a SAM or BAM file with additional data stored in an unmapped BAM file and produces a third SAM or BAM file of aligned and unaligned reads. NOTE that this program expects to find a sequence dictionary in the same directory as REFERENCE_SEQUENCE and expects it to have the same base name as the reference fasta except with the extension '.dict'
960090a64944 Uploaded
devteam
parents:
diff changeset
192 metadata such as read groups
960090a64944 Uploaded
devteam
parents:
diff changeset
193
960090a64944 Uploaded
devteam
parents:
diff changeset
194 .. _Picard: http://picard.sourceforge.net/command-line-overview.shtml#MergeBamAlignment
960090a64944 Uploaded
devteam
parents:
diff changeset
195
960090a64944 Uploaded
devteam
parents:
diff changeset
196
960090a64944 Uploaded
devteam
parents:
diff changeset
197 </help>
960090a64944 Uploaded
devteam
parents:
diff changeset
198 </tool>