annotate samtools_calmd.xml @ 4:06dc50b7b711 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
author iuc
date Thu, 17 Oct 2019 02:18:43 -0400
parents 3d873744df7e
children c147e3a10573
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
1 <tool id="samtools_calmd" name="CalMD" version="2.0.2">
1
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
2 <description>recalculate MD/NM tags</description>
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
3 <macros>
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
4 <import>macros.xml</import>
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
5 </macros>
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
6 <expand macro="requirements"/>
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
7 <expand macro="stdio"/>
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
8 <expand macro="version_command"/>
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
9 <command><![CDATA[
3
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
10 @ADDTHREADS@
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
11 #if str( $reference_source.reference_source_selector ) == "history":
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
12 #set ref_fa = 'ref.fa'
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
13 ln -s '${reference_source.ref_fasta}' ref.fa &&
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
14 samtools faidx ref.fa &&
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
15 #else:
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
16 #set ref_fa = str( $reference_source.ref_fasta.fields.path )
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
17 #end if
1
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
18
3
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
19 samtools calmd
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
20 $baq_settings.use_baq $baq_settings.modify_quality $baq_settings.extended_baq
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
21 #if str($option_set.option_sets) == 'advanced':
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
22 $option_set.change_identical -C $option_set.adjust_mq
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
23 #end if
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
24 -b
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
25 -@ \$addthreads
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
26 '$input_bam'
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
27 '$ref_fa'
3d873744df7e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 2
diff changeset
28 > '$calmd_output'
1
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
29 ]]></command>
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
30 <inputs>
1
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
31 <param name="input_bam" type="data" format="bam" label="BAM file to recalculate" />
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
32 <conditional name="reference_source">
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
33 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome">
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
34 <option value="cached">Use a built-in genome</option>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
35 <option value="history">Use a genome from the history</option>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
36 </param>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
37 <when value="cached">
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
38 <param name="ref_fasta" type="select" label="Using reference genome">
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
39 <options from_data_table="fasta_indexes">
4
06dc50b7b711 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents: 3
diff changeset
40 <filter type="data_meta" column="dbkey" key="dbkey" ref="input_bam" />
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
41 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file" />
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
42 </options>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
43 </param>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
44 </when>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
45 <when value="history">
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
46 <param name="ref_fasta" type="data" format="fasta" label="Using reference file" />
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
47 </when>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
48 </conditional>
2
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
49 <conditional name="baq_settings">
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
50 <param name="use_baq" argument="-r" type="select"
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
51 label="Do you also want BAQ (Base Alignment Quality) scores to be calculated?">
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
52 <option value="">No</option>
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
53 <option value="-r">Yes, run BAQ calculation</option>
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
54 </param>
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
55 <when value="">
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
56 <param name="modify_quality" type="hidden" value="" />
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
57 <param name="extended_baq" type="hidden" value="" />
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
58 </when>
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
59 <when value="-r">
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
60 <param name="modify_quality" argument="-A" type="boolean" truevalue="-A" falsevalue="" checked="false"
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
61 label="Use BAQ to cap read base qualities"
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
62 help="By default, BAQ scores are stored in a separate BQ tag, and the read base quality string is left untouched. When you enable this option, the BAQ scores will be used directly to modify the quality string instead." />
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
63 <param name="extended_baq" argument="-E" type="boolean" truevalue="-E" falsevalue="" checked="false" label="Extended BAQ for better sensitivity" />
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
64 </when>
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
65 </conditional>
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
66 <conditional name="option_set">
2
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
67 <param name="option_sets" type="select" label="Additional options">
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
68 <option value="default">Use defaults</option>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
69 <option value="advanced">Advanced options</option>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
70 </param>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
71 <when value="default" />
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
72 <when value="advanced">
2
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
73 <param name="change_identical" argument="-e" type="boolean" truevalue="-e" falsevalue="" checked="False"
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
74 label="Change identical bases to '='"
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
75 help="Replace bases in read sequences that match the reference base at that position with an equal sign" />
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
76 <param name="adjust_mq" argument="-C" type="integer" min="0" max="255" value="0"
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
77 label="Coefficient to cap mapping quality of poorly mapped reads"
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
78 help="Higher values for this setting mean a stronger downgrade of the mapping quality of reads with excessive mismatches (50: recommended setting for reads aligned with BWA, 0: do not downgrade mapping qualities)" />
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
79 </when>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
80 </conditional>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
81 </inputs>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
82 <outputs>
1
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
83 <data name="calmd_output" format="bam" label="${tool.name} on ${on_string}" />
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
84 </outputs>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
85 <tests>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
86 <test>
2
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
87 <param name="use_baq" value="" />
1
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
88 <param name="option_sets" value="default" />
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
89 <param name="input_bam" value="phiX.bam"/>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
90 <param name="reference_source_selector" value="history" />
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
91 <param name="ref_fasta" value="phiX.fasta" />
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
92 <output name="calmd_output" file="samtools_calmd_out_1.bam" ftype="bam" />
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
93 </test>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
94 <test>
2
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
95 <param name="use_baq" value="-r" />
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
96 <param name="extended_baq" value="true" />
1
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
97 <param name="option_sets" value="advanced" />
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
98 <param name="change_identical" value="true" />
2
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
99 <param name="adjust_mq" value="50" />
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
100 <param name="input_bam" value="phiX.bam"/>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
101 <param name="reference_source_selector" value="history" />
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
102 <param name="ref_fasta" value="phiX.fasta" />
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
103 <output name="calmd_output" file="samtools_calmd_out_2.bam" ftype="bam" />
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
104 </test>
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
105 </tests>
1
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
106 <help><![CDATA[
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
107 **What it does**
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
108
2
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
109 Generates the MD tag using the ``samtools calmd`` command. If the MD tag (see
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
110 SAM format reference below for explanation of SAM/BAM tags) is already present,
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
111 this command will give a warning if the MD tag generated is different from the
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
112 existing tag.
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
113
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
114 Optionally, also generates the BQ tag to encode base alignment qualities,
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
115 caps the mapping quality of poorly mapping reads, and modifies read sequences
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
116 replacing bases matching the reference with ``=``.
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
117
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
118 Outputs a BAM file.
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
119
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
120 -----
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
121
2
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
122 **SAM/BAM tags written by this tool**
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
123
2
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
124 From the SAM format tag specification::
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
125
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
126 MD (string) String for mismatching positions. Regex : [0-9]+(([A-Z]|\^[A-Z]+)[0-9]+)*7
2
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
127 NM (integer) Edit distance to the reference, including ambiguous bases but excluding clipping
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
128 BQ (string) String of offsets to base alignment quality (BAQ), of the same length as the read sequence.
e65c2cd0964c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 766da8a5f0449de99c2854aacaefb80d11ad083c
iuc
parents: 1
diff changeset
129 At the i-th read base, BAQ i = Q i − (BQ i − 64) where Q i is the i-th base quality.
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
130
1
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
131 See references for more information about SAM format tags.
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
132 ]]></help>
33208952b99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
133 <expand macro="citations"/>
0
1ebb4ecdc1ef Uploaded
devteam
parents:
diff changeset
134 </tool>