Mercurial > repos > iuc > seqtk
annotate seqtk_sample.xml @ 2:f73729b62b51 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 2249d643284ee782d882cd200729a86a2c6bb744
author | iuc |
---|---|
date | Fri, 01 Jan 2016 14:49:42 -0500 |
parents | 61718851f199 |
children | bc7d99f46a5d |
rev | line source |
---|---|
0 | 1 <?xml version="1.0"?> |
2 <tool id="seqtk_sample" name="seqtk_sample" version="@WRAPPER_VERSION@.0"> | |
1 | 3 <description>random subsample of fasta or fastq sequences</description> |
0 | 4 <macros> |
5 <import>macros.xml</import> | |
6 </macros> | |
7 <expand macro="requirements"/> | |
8 <expand macro="stdio"/> | |
9 <command><![CDATA[seqtk sample -s $s | |
10 $in_file | |
11 $subsample_size | |
12 > $default]]></command> | |
13 <inputs> | |
14 <expand macro="in_faq" /> | |
15 <param label="RNG seed" help="(-s)" name="s" type="integer" value="4"/> | |
2
f73729b62b51
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 2249d643284ee782d882cd200729a86a2c6bb744
iuc
parents:
1
diff
changeset
|
16 <param label="Subsample (decimal fraction or number)" name="subsample_size" type="float" value="100"/> |
0 | 17 </inputs> |
18 <outputs> | |
19 <data format_source="in_file" hidden="false" name="default" label="Subsample of reads from $in_file.name"/> | |
20 </outputs> | |
21 <tests> | |
22 <test> | |
23 <param name="in_file" value="seqtk_sample.fa"/> | |
24 <param name="subsample_size" value="4"/> | |
25 <param name="s" value="4"/> | |
26 <output name="default" file="seqtk_sample.out" ftype="fasta"/> | |
27 </test> | |
28 </tests> | |
29 <help><![CDATA[ | |
30 **What it does** | |
31 | |
32 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/>`__. | |
33 | |
34 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. | |
35 | |
36 @ATTRIBUTION@ | |
37 ]]></help> | |
2
f73729b62b51
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 2249d643284ee782d882cd200729a86a2c6bb744
iuc
parents:
1
diff
changeset
|
38 <expand macro="citation" /> |
0 | 39 </tool> |