annotate fa_to_twobit.xml @ 1:4dc4e3d487c4 draft default tip

planemo upload
author yating-l
date Tue, 16 May 2017 15:45:26 -0400
parents a44fc617c657
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
1 <?xml version="1.0"?>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
2 <tool id="fa_to_twobit" name="faToTwoBit" version="1.0">
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
3 <description>Converts a FASTA sequence file into a twoBit file</description>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
4
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
5 <macros>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
6 <import>ucsc_macros.xml</import>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
7 </macros>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
8
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
9 <expand macro="requirements_twobit" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
10
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
11 <command detect_errors="exit_code">
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
12 <![CDATA[
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
13 faToTwoBit
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
14 "${fasta_input}" ${no_mask} ${strip_version} "${twobit_output}"
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
15 ]]>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
16 </command>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
17 <inputs>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
18 <param name="fasta_input" type="data" format="fasta" label="FASTA file" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
19
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
20 <param name="no_mask" type="boolean" checked="true"
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
21 truevalue="-noMask" falsevalue=""
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
22 label="Ignore lower-case masking in fa file"
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
23 help="-noMask" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
24
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
25 <param name="strip_version" type="boolean" checked="true"
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
26 truevalue="-stripVersion" falsevalue=""
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
27 label="Strip off version number after '.' for GenBank accessions"
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
28 help="-stripVersion" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
29 </inputs>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
30 <outputs>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
31 <data name="twobit_output" format="twobit" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
32 </outputs>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
33 <tests>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
34 <test>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
35 <param name="fasta_input" value="KB462401.fa" ftype="fasta" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
36 <output name="twobit_output" file="KB462401.unmasked.2bit" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
37 </test>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
38 <test>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
39 <param name="fasta_input" value="KB462401.fa" ftype="fasta" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
40 <param name="no_mask" value="" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
41 <output name="twobit_output" file="KB462401.masked.2bit" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
42 </test>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
43 <test>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
44 <param name="fasta_input" value="KB462401.fa" ftype="fasta" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
45 <param name="strip_version" value="" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
46 <output name="twobit_output" file="KB462401.keepversion.2bit" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
47 </test>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
48 </tests>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
49 <help>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
50 <![CDATA[
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
51 **What it does**
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
52
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
53 faToTwoBit converts a DNA sequence file in FASTA format into a
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
54 `twoBit Sequence Archive <https://genome.ucsc.edu/goldenpath/help/twoBit.html>`_.
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
55
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
56 ]]></help>
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
57
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
58 <expand macro="citations" />
a44fc617c657 planemo upload
yating-l
parents:
diff changeset
59 </tool>