Mercurial > repos > iuc > seqtk
annotate seqtk_subseq.xml @ 3:bc7d99f46a5d draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
author | iuc |
---|---|
date | Mon, 05 Jun 2017 13:27:11 -0400 |
parents | f73729b62b51 |
children | ecf1c30da3a2 |
rev | line source |
---|---|
0 | 1 <?xml version="1.0"?> |
2 <tool id="seqtk_subseq" name="seqtk_subseq" version="@WRAPPER_VERSION@.0"> | |
3
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
3 <description>extract subsequences from FASTA/Q files</description> |
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 subseq |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
11 $t |
0 | 12 -l $l |
3
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
13 '$in_file' |
0 | 14 #if $source.type == 'bed': |
3
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
15 '$in_bed' |
0 | 16 #else |
3
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
17 '$name_list' |
0 | 18 #end if |
19 #if $t == '-t': | |
3
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
20 | awk 'BEGIN{print "chr\tunknown\tseq"}1' |
0 | 21 #end if |
3
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
22 > '$default' |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
23 ]]></command> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
24 <inputs> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
25 <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
|
26 <conditional name="source"> |
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="type" type="select" label="Select source of sequence choices"> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
28 <option value="bed">BED</option> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
29 <option value="name">FASTA/Q ID list</option> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
30 </param> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
31 <when value="bed"> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
32 <param name="in_bed" type="data" format="bed" label="Input BED file"/> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
33 </when> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
34 <when value="name"> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
35 <param name="name_list" type="data" format="txt" label="Input ID list"/> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
36 </when> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
37 </conditional> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
38 <param argument="-t" type="boolean" truevalue="-t" falsevalue="" label="TAB delimited output" /> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
39 <param argument="-l" type="integer" value="0" label="Sequence line length" /> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
40 </inputs> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
41 <outputs> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
42 <data name="default" format_source="in_file" label="Selected sequences 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
|
43 <change_format> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
44 <when input="t" value="-t" format="tabular"/> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
45 </change_format> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
46 </data> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
47 </outputs> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
48 <tests> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
49 <test> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
50 <param name="in_file" value="seqtk_subseq.fa"/> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
51 <param name="type" value="name"/> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
52 <param name="t" value="False" /> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
53 <param name="name_list" value="seqtk_subseq_list.txt"/> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
54 <output name="default" file="seqtk_subseq.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
|
55 </test> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
56 </tests> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
57 <help><![CDATA[ |
0 | 58 **What it does** |
59 | |
60 Given a list of newline separated IDs from a fasta file, this will extract those named fasta sequences from the input file. | |
61 | |
62 :: | |
63 | |
64 # Input ID list | |
65 seq1 | |
66 | |
67 # Input fasta | |
68 >seq1 | |
69 ACGTMRWSYK | |
70 >seq2 | |
71 RWSYKACGTM | |
72 | |
73 results in | |
74 | |
75 :: | |
76 | |
77 # Output result | |
78 >seq1 | |
79 ACGTMRWSYK | |
80 | |
81 @ATTRIBUTION@ | |
3
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
82 ]]></help> |
bc7d99f46a5d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 7379d9f8823d3c639c8119b116e141d0a736ca1d
iuc
parents:
2
diff
changeset
|
83 <expand macro="citation" /> |
0 | 84 </tool> |