Mercurial > repos > devteam > fasta_compute_length
annotate fasta_compute_length.xml @ 6:5cbde03c1103 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 9f0b8eb9fd7cf9e2513e7c822767153dbd4bc3b2
author | devteam |
---|---|
date | Thu, 03 Oct 2024 12:11:55 +0000 |
parents | 7d37cfda8e00 |
children |
rev | line source |
---|---|
6
5cbde03c1103
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 9f0b8eb9fd7cf9e2513e7c822767153dbd4bc3b2
devteam
parents:
5
diff
changeset
|
1 <tool id="fasta_compute_length" name="Compute sequence length" version="1.0.4" profile="22.04"> |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
2 <description></description> |
4
e12f68d2cc4e
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit cd1ed08574b749eee2a3f6e6151dbb0c8ca15bbf"
devteam
parents:
3
diff
changeset
|
3 <requirements> |
6
5cbde03c1103
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 9f0b8eb9fd7cf9e2513e7c822767153dbd4bc3b2
devteam
parents:
5
diff
changeset
|
4 <requirement type="package" version="3.12">python</requirement> |
4
e12f68d2cc4e
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit cd1ed08574b749eee2a3f6e6151dbb0c8ca15bbf"
devteam
parents:
3
diff
changeset
|
5 </requirements> |
6
5cbde03c1103
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 9f0b8eb9fd7cf9e2513e7c822767153dbd4bc3b2
devteam
parents:
5
diff
changeset
|
6 <required_files> |
5cbde03c1103
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 9f0b8eb9fd7cf9e2513e7c822767153dbd4bc3b2
devteam
parents:
5
diff
changeset
|
7 <include path="fasta_compute_length.py"/> |
5cbde03c1103
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 9f0b8eb9fd7cf9e2513e7c822767153dbd4bc3b2
devteam
parents:
5
diff
changeset
|
8 </required_files> |
3
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
9 <command> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
10 #if $ref.ref_source == 'dbkey': |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
11 cp '${ref.index.fields.len_path}' '$output' |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
12 #else: |
4
e12f68d2cc4e
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit cd1ed08574b749eee2a3f6e6151dbb0c8ca15bbf"
devteam
parents:
3
diff
changeset
|
13 python '$__tool_directory__/fasta_compute_length.py' |
3
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
14 #if $ref.ref_source == 'history': |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
15 '$input' |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
16 #else: |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
17 '${ref.index.fields.path}' |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
18 #end if |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
19 '$output' |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
20 $ref.keep_first |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
21 $ref.keep_first_word |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
22 #end if |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
23 </command> |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
24 <inputs> |
3
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
25 <conditional name="ref"> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
26 <param name="ref_source" type="select" label="Sequences"> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
27 <option value="history" selected="True">From History</option> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
28 <option value="dbkey">Locally Cached (pre-built length files)</option> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
29 <option value="fasta">Locally Cached (full genomes)</option> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
30 </param> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
31 <when value="history"> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
32 <param name="input" type="data" format="fasta" label="Compute length for these sequences"/> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
33 <param name="keep_first" type="integer" value="0" label="How many title characters to keep?" help="'0' = keep the whole thing"/> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
34 <param name="keep_first_word" type="boolean" truevalue="id_only" falsevalue="id_and_desc" |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
35 label="Strip fasta description from header?" |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
36 help="Stripping the description will truncate the fasta header to just the sequence ID. Otherwise the header description will be kept. This step is done before the 'How many characters to keep' option."/> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
37 </when> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
38 <when value="dbkey"> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
39 <param name="index" type="select" label="Source Genome Build"> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
40 <options from_data_table="__dbkeys__"/> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
41 </param> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
42 </when> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
43 <when value="fasta"> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
44 <param name="index" type="select" label="Source Genome Build"> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
45 <options from_data_table="all_fasta"/> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
46 </param> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
47 <param name="keep_first" type="integer" value="0" label="How many title characters to keep?" help="'0' = keep the whole thing"/> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
48 <param name="keep_first_word" type="boolean" truevalue="id_only" falsevalue="id_and_desc" |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
49 label="Strip fasta description from header?" |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
50 help="Stripping the description will truncate the fasta header to just the sequence ID. Otherwise the header description will be kept. This step is done before the 'How many characters to keep' option."/> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
51 </when> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
52 </conditional> |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
53 |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
54 </inputs> |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
55 <outputs> |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
56 <data name="output" format="tabular"/> |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
57 </outputs> |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
58 <tests> |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
59 <test> |
3
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
60 <param name="ref|input" value="454.fasta" /> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
61 <param name="ref|keep_first" value="0"/> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
62 <param name="ref|keep_first_word" value="id_and_desc" /> |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
63 <output name="output" file="fasta_tool_compute_length_1.out" /> |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
64 </test> |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
65 |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
66 <test> |
3
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
67 <param name="ref|input" value="extract_genomic_dna_out1.fasta" /> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
68 <param name="ref|keep_first" value="0"/> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
69 <param name="ref|keep_first_word" value="id_and_desc" /> |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
70 <output name="output" file="fasta_tool_compute_length_2.out" /> |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
71 </test> |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
72 |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
73 <test> |
3
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
74 <param name="ref|input" value="454.fasta" /> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
75 <param name="ref|keep_first" value="14"/> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
76 <param name="ref|keep_first_word" value="id_and_desc" /> |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
77 <output name="output" file="fasta_tool_compute_length_3.out" /> |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
78 </test> |
3
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
79 |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
80 <test> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
81 <param name="ref|ref_source" value="fasta" /> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
82 <param name="ref|index" value="test_id"/> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
83 <param name="ref|keep_first_word" value="id_only" /> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
84 <output name="output" file="merged.tab" /> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
85 </test> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
86 |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
87 <test> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
88 <param name="ref|ref_source" value="dbkey" /> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
89 <param name="ref|index" value="test_id"/> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
90 <output name="output" file="merged.tab" /> |
2051602a5f97
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit 6ba0996437dfa7c51f3c2d2ded79dd85ad099b65"
devteam
parents:
2
diff
changeset
|
91 </test> |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
92 </tests> |
4
e12f68d2cc4e
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit cd1ed08574b749eee2a3f6e6151dbb0c8ca15bbf"
devteam
parents:
3
diff
changeset
|
93 <help><![CDATA[ |
0 | 94 |
95 **What it does** | |
96 | |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
97 This tool counts the length of each fasta sequence in the file. The output file has two columns per line (separated by tab): fasta titles and lengths of the sequences. The option *How many characters to keep?* allows to select a specified number of letters from the beginning of each FASTA entry. |
0 | 98 |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
99 ----- |
0 | 100 |
101 **Example** | |
102 | |
103 Suppose you have the following FASTA formatted sequences from a Roche (454) FLX sequencing run:: | |
104 | |
4
e12f68d2cc4e
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit cd1ed08574b749eee2a3f6e6151dbb0c8ca15bbf"
devteam
parents:
3
diff
changeset
|
105 >EYKX4VC02EQLO5 length=108 xy=1826_0455 region=2 run=R_2007_11_07_16_15_57_ |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
106 TCCGCGCCGAGCATGCCCATCTTGGATTCCGGCGCGATGACCATCGCCCGCTCCACCACG |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
107 TTCGGCCGGCCCTTCTCGTCGAGGAATGACACCAGCGCTTCGCCCACG |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
108 >EYKX4VC02D4GS2 length=60 xy=1573_3972 region=2 run=R_2007_11_07_16_15_57_ |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
109 AATAAAACTAAATCAGCAAAGACTGGCAAATACTCACAGGCTTATACAATACAAATGTAAfa |
0 | 110 |
111 Running this tool while setting **How many characters to keep?** to **14** will produce this:: | |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
112 |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
113 EYKX4VC02EQLO5 108 |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
114 EYKX4VC02D4GS2 60 |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
115 |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
116 However, if your IDs are not all the same length, you may wish to just keep the fasta ID, and not the description:: |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
117 |
4
e12f68d2cc4e
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit cd1ed08574b749eee2a3f6e6151dbb0c8ca15bbf"
devteam
parents:
3
diff
changeset
|
118 >EYKX4VC02EQLO5 length=108 xy=1826_0455 region=2 run=R_2007_11_07_16_15_57_ |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
119 TCCGCGCCGAGCATGCCCATCTTGGATTCCGGCGCGATGACCATCGCCCGCTCCACCACG |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
120 TTCGGCCGGCCCTTCTCGTCGAGGAATGACACCAGCGCTTCGCCCACG |
4
e12f68d2cc4e
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit cd1ed08574b749eee2a3f6e6151dbb0c8ca15bbf"
devteam
parents:
3
diff
changeset
|
121 >EYKX4VC length=60 xy=1573_3972 region=2 run=R_2007_11_07_16_15_57_ |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
122 AATAAAACTAAATCAGCAAAGACTGGCAAATACTCACAGGCTTATACAATACAAATGTAAfa |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
123 |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
124 Running this tool with **Strip fasta description from header** set to **True** and **How many characters to keep?** set to **0** will produce:: |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
125 |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
126 EYKX4VC02EQLO5 108 |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
127 EYKX4VC 60 |
0 | 128 |
129 | |
4
e12f68d2cc4e
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit cd1ed08574b749eee2a3f6e6151dbb0c8ca15bbf"
devteam
parents:
3
diff
changeset
|
130 ]]></help> |
2
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
131 <citations> |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
132 <citation type="doi">10.1093/bioinformatics/btq281</citation> |
de2db1bdfbf8
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/fasta_compute_length commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
133 </citations> |
1
d8cc2c8eef14
planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
0
diff
changeset
|
134 </tool> |