|
0
|
1 <tool id="vl_tools_convert_sam" name="VLT.convert_sam">
|
|
|
2 <description>converter</description>
|
|
|
3 <command interpreter="bash">
|
|
|
4 launcher.sh
|
|
|
5 --interpreter=python
|
|
|
6 --runner=convert_sam.py
|
|
|
7 --logfile ${log_file} convert_sam -i ${input_file}
|
|
|
8 -o ${output_file} --reftag ${dbkey} --output-format ${output_type}
|
|
|
9 ## FIXME: find a way to import the default from the relevant module
|
|
|
10 --flank-size 125
|
|
|
11 </command>
|
|
|
12 <inputs>
|
|
|
13 <param name="input_file" type="data" format="sam" label="SAM input file" />
|
|
|
14 <param name="output_type" type="select" label="Convert to:">
|
|
|
15 <option value="marker_alignment">VL marker alignment</option>
|
|
|
16 <option value="segment_extractor">Genome segment extractor</option>
|
|
|
17 </param>
|
|
|
18 </inputs>
|
|
|
19 <outputs>
|
|
|
20 <data name="output_file">
|
|
|
21 <change_format>
|
|
|
22 <when input="output_type" value="marker_alignment" format="tabular" />
|
|
|
23 <when input="output_type" value="segment_extractor" format="interval" />
|
|
|
24 </change_format>
|
|
|
25 </data>
|
|
|
26 <data format="txt" name="log_file" label="${tool.name}.log_file"/>
|
|
|
27 </outputs>
|
|
|
28 <help>
|
|
|
29 **What it does**
|
|
|
30
|
|
|
31 This tool converts SAM alignment data to VL marker alignment or Galaxy
|
|
|
32 extract genomic DNA input.
|
|
|
33
|
|
|
34 Expects single-end BWA alignment data produced by the previous steps
|
|
|
35 in the workflow (see markers_to_fastq).
|
|
|
36
|
|
|
37 **NOTE:** if the marker_alignment output format is selected, the
|
|
|
38 Database/Build property must be set in the input SAM file.
|
|
|
39 </help>
|
|
|
40 </tool>
|