annotate seqtk_sample.xml @ 5:a09586d5149a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 83ecfe7d9bbf03c91f27ba18776352a1ebf8cf6f
author iuc
date Fri, 11 Jan 2019 05:15:20 -0500
parents ecf1c30da3a2
children 288f7f69fe25
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
5
a09586d5149a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 83ecfe7d9bbf03c91f27ba18776352a1ebf8cf6f
iuc
parents: 4
diff changeset
2 <tool id="seqtk_sample" name="seqtk_sample" version="@TOOL_VERSION@.1">
1
61718851f199 Uploaded
iuc
parents: 0
diff changeset
3 <description>random subsample of fasta or fastq sequences</description>
3
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
4 <macros>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
5 <import>macros.xml</import>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
6 </macros>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
7 <expand macro="requirements"/>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
8 <expand macro="stdio"/>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
9 <command><![CDATA[
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
10 seqtk sample
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
11 -s $s
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
12 '$in_file'
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
13 $subsample_size
4
ecf1c30da3a2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
iuc
parents: 3
diff changeset
14 @CONDITIONAL_GZIP_OUT@
3
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
15 ]]></command>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
16 <inputs>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
17 <expand macro="in_faq" />
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
18 <param argument="-s" type="integer" value="4" label="RNG seed" help="The seed used for the random number generator. Manually specifying a number here is useful for reproducing the same subsampling over time" />
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
19 <param name="subsample_size" type="float" value="100" label="Subsample (decimal fraction or number)" />
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
20 </inputs>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
21 <outputs>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
22 <data name="default" format_source="in_file" label="Subsample of reads from $in_file.name"/>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
23 </outputs>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
24 <tests>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
25 <test>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
26 <param name="in_file" value="seqtk_sample.fa"/>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
27 <param name="subsample_size" value="4"/>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
28 <param name="s" value="4"/>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
29 <output name="default" file="seqtk_sample.out" ftype="fasta"/>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
30 </test>
4
ecf1c30da3a2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
iuc
parents: 3
diff changeset
31 <test>
ecf1c30da3a2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
iuc
parents: 3
diff changeset
32 <param name="in_file" value="seqtk_sample.fa.gz" ftype="fasta.gz"/>
ecf1c30da3a2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
iuc
parents: 3
diff changeset
33 <param name="subsample_size" value="4"/>
ecf1c30da3a2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
iuc
parents: 3
diff changeset
34 <param name="s" value="4"/>
ecf1c30da3a2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
iuc
parents: 3
diff changeset
35 <output name="default" file="seqtk_sample.out.gz" ftype="fasta.gz"/>
ecf1c30da3a2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
iuc
parents: 3
diff changeset
36 </test>
3
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
37 </tests>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
38 <help><![CDATA[
0
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
39 **What it does**
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
40
3
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
41 Takes a random subsample of FASTA or FASTQ sequences. The RNG is seedable to allow for reproducible results, and defaults to `4 <http://xkcd.com/221/>`__.
0
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
42
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
43 The subsample size can be a decimal fraction <=1, where 1 implies 100% of the reads should be used. If a number >1 is provided, that many reads will be taken from the dataset.
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
44
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
45 @ATTRIBUTION@
3
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
46 ]]></help>
bc7d99f46a5d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents: 2
diff changeset
47 <expand macro="citation" />
0
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
48 </tool>