Mercurial > repos > devteam > fastx_trimmer
annotate fastx_trimmer.xml @ 4:b98f3fa516a3 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
author | iuc |
---|---|
date | Fri, 17 Aug 2018 05:06:06 -0400 |
parents | bbb007a39ac2 |
children | 547e8d00f11c |
rev | line source |
---|---|
4
b98f3fa516a3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
iuc
parents:
3
diff
changeset
|
1 <tool id="cshl_fastx_trimmer" version="1.0.2" name="Trim sequences"> |
2
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
2 <description></description> |
3
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
3 <macros> |
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
4 <import>macros.xml</import> |
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
5 </macros> |
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
6 <expand macro="requirements" /> |
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
8 @CATS@ fastx_trimmer -v |
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
9 -f $first |
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
10 -l $last |
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
11 -o '$output' |
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
12 @FQQUAL@ |
4
b98f3fa516a3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
iuc
parents:
3
diff
changeset
|
13 |
b98f3fa516a3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
iuc
parents:
3
diff
changeset
|
14 #if $input.is_of_type('fasta.gz', 'fastqsanger.gz', 'fastqsolexa.gz', 'fastqillumina.gz'): |
b98f3fa516a3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
iuc
parents:
3
diff
changeset
|
15 -z |
b98f3fa516a3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
iuc
parents:
3
diff
changeset
|
16 #end if |
b98f3fa516a3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
iuc
parents:
3
diff
changeset
|
17 |
3
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
18 ]]></command> |
2
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
19 <inputs> |
3
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
20 <expand macro="fastx_input" /> |
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
21 <param name="first" type="integer" value="1" label="First base to keep" /> |
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
22 <param name="last" type="integer" value="21" label="Last base to keep" /> |
2
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
23 </inputs> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
24 <outputs> |
3
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
25 <data name="output" format_source="input" metadata_source="input" /> |
2
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
26 </outputs> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
27 <tests> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
28 <test> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
29 <!-- Trim a FASTA file - remove first four bases (e.g. a barcode) --> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
30 <param name="input" value="fastx_trimmer1.fasta" /> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
31 <param name="first" value="5"/> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
32 <param name="last" value="36"/> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
33 <output name="output" ftype="fasta" file="fastx_trimmer1.out" /> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
34 </test> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
35 <test> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
36 <!-- Trim a FASTQ file - remove last 9 bases (e.g. keep only miRNA length sequences) --> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
37 <param name="input" value="fastx_trimmer2.fastq" ftype="fastqsolexa"/> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
38 <param name="first" value="1"/> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
39 <param name="last" value="27"/> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
40 <output name="output" ftype="fastqsolexa" file="fastx_trimmer2.out" /> |
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
41 </test> |
4
b98f3fa516a3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
iuc
parents:
3
diff
changeset
|
42 <test> |
b98f3fa516a3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
iuc
parents:
3
diff
changeset
|
43 <!-- Trim a FASTQ.gz file and output FASTQ.gz --> |
b98f3fa516a3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
iuc
parents:
3
diff
changeset
|
44 <param name="input" value="fastx_trimmer2.fastq.gz" ftype="fastqsanger.gz"/> |
b98f3fa516a3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
iuc
parents:
3
diff
changeset
|
45 <param name="first" value="1"/> |
b98f3fa516a3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
iuc
parents:
3
diff
changeset
|
46 <param name="last" value="27"/> |
b98f3fa516a3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
iuc
parents:
3
diff
changeset
|
47 <output name="output" ftype="fastqsanger.gz" decompress="true" file="fastx_trimmer2.out.gz" /> |
b98f3fa516a3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit f3f313cb59922b945ac9587ff718b231d0f8db5c
iuc
parents:
3
diff
changeset
|
48 </test> |
2
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
49 </tests> |
3
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
50 <help><![CDATA[ |
0 | 51 **What it does** |
52 | |
53 This tool trims (cut bases from) sequences in a FASTA/Q file. | |
2
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
54 |
0 | 55 -------- |
56 | |
57 **Example** | |
58 | |
59 Input Fasta file (with 36 bases in each sequences):: | |
60 | |
61 >1-1 | |
62 TATGGTCAGAAACCATATGCAGAGCCTGTAGGCACC | |
63 >2-1 | |
64 CAGCGAGGCTTTAATGCCATTTGGCTGTAGGCACCA | |
2
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
65 |
0 | 66 Trimming with First=1 and Last=21, we get a FASTA file with 21 bases in each sequences (starting from the first base):: |
67 | |
68 >1-1 | |
69 TATGGTCAGAAACCATATGCA | |
70 >2-1 | |
71 CAGCGAGGCTTTAATGCCATT | |
72 | |
73 Trimming with First=6 and Last=10, will generate a FASTA file with 5 bases (bases 6,7,8,9,10) in each sequences:: | |
74 | |
75 >1-1 | |
76 TCAGA | |
77 >2-1 | |
78 AGGCT | |
2
377ac2829eac
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
1
diff
changeset
|
79 |
0 | 80 ------ |
81 | |
82 This tool is based on `FASTX-toolkit`__ by Assaf Gordon. | |
83 | |
84 .. __: http://hannonlab.cshl.edu/fastx_toolkit/ | |
3
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
85 ]]></help> |
bbb007a39ac2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
2
diff
changeset
|
86 <expand macro="citations" /> |
0 | 87 <!-- FASTX-Trimmer is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) --> |
88 </tool> |