Mercurial > repos > devteam > fastx_trimmer
annotate fastx_trimmer.xml @ 7:709c2debabb1 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit fd099d17eceaa319fbfe429f4725328d88b18c9f
author | iuc |
---|---|
date | Thu, 10 Aug 2023 06:52:27 +0000 |
parents | 2ff4f91ff564 |
children |
rev | line source |
---|---|
7
709c2debabb1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit fd099d17eceaa319fbfe429f4725328d88b18c9f
iuc
parents:
6
diff
changeset
|
1 <tool id="cshl_fastx_trimmer" version="1.0.2+galaxy@VERSION_SUFFIX@" profile="22.05" name="Trim sequences"> |
2
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
2 <description></description> |
3
9081fe62bd56
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> |
9081fe62bd56
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> |
9081fe62bd56
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> |
6
2ff4f91ff564
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
5
diff
changeset
|
6 <expand macro="requirements"> |
2ff4f91ff564
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
5
diff
changeset
|
7 <requirement type="package" version="1.0.8">bzip2</requirement> |
2ff4f91ff564
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
5
diff
changeset
|
8 </expand> |
3
9081fe62bd56
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 <command detect_errors="exit_code"><![CDATA[ |
9081fe62bd56
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 @CATS@ fastx_trimmer -v |
9081fe62bd56
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 -f $first |
9081fe62bd56
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 -l $last |
9081fe62bd56
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
|
13 @FQQUAL@ |
5
b962b4efec19
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 3953b65f6b1c0336e9cadbe0792a5d3b14b5643a
iuc
parents:
4
diff
changeset
|
14 @GZIP@ |
6
2ff4f91ff564
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
5
diff
changeset
|
15 > '$output' |
3
9081fe62bd56
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
|
16 ]]></command> |
2
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
17 <inputs> |
3
9081fe62bd56
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 <expand macro="fastx_input" /> |
9081fe62bd56
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
|
19 <param name="first" type="integer" value="1" label="First base to keep" /> |
9081fe62bd56
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 <param name="last" type="integer" value="21" label="Last base to keep" /> |
2
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
21 </inputs> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
22 <outputs> |
3
9081fe62bd56
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
|
23 <data name="output" format_source="input" metadata_source="input" /> |
2
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
24 </outputs> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
25 <tests> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
26 <test> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
27 <!-- Trim a FASTA file - remove first four bases (e.g. a barcode) --> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
28 <param name="input" value="fastx_trimmer1.fasta" /> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
29 <param name="first" value="5"/> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
30 <param name="last" value="36"/> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
31 <output name="output" ftype="fasta" file="fastx_trimmer1.out" /> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
32 </test> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
33 <test> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
34 <!-- Trim a FASTQ file - remove last 9 bases (e.g. keep only miRNA length sequences) --> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
35 <param name="input" value="fastx_trimmer2.fastq" ftype="fastqsolexa"/> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
36 <param name="first" value="1"/> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
37 <param name="last" value="27"/> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
38 <output name="output" ftype="fastqsolexa" file="fastx_trimmer2.out" /> |
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
39 </test> |
4
748363ac106b
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
|
40 <test> |
6
2ff4f91ff564
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
5
diff
changeset
|
41 <!-- Trim a FASTQ.gz file and output FASTQ.gz --> |
4
748363ac106b
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 <param name="input" value="fastx_trimmer2.fastq.gz" ftype="fastqsanger.gz"/> |
748363ac106b
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 <param name="first" value="1"/> |
748363ac106b
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="last" value="27"/> |
748363ac106b
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 <output name="output" ftype="fastqsanger.gz" decompress="true" file="fastx_trimmer2.out.gz" /> |
748363ac106b
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 </test> |
6
2ff4f91ff564
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
5
diff
changeset
|
47 <test> |
2ff4f91ff564
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
5
diff
changeset
|
48 <!-- Trim a FASTQ.bz2 file and output FASTQ.bz2 --> |
2ff4f91ff564
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
5
diff
changeset
|
49 <param name="input" value="fastx_trimmer2.fastq.bz2" ftype="fastqsanger.bz2"/> |
2ff4f91ff564
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
5
diff
changeset
|
50 <param name="first" value="1"/> |
2ff4f91ff564
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
5
diff
changeset
|
51 <param name="last" value="27"/> |
2ff4f91ff564
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
5
diff
changeset
|
52 <output name="output" ftype="fastqsanger.bz2" decompress="true" file="fastx_trimmer2.out.bz2" /> |
2ff4f91ff564
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
5
diff
changeset
|
53 </test> |
2
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
54 </tests> |
3
9081fe62bd56
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
|
55 <help><![CDATA[ |
0 | 56 **What it does** |
57 | |
58 This tool trims (cut bases from) sequences in a FASTA/Q file. | |
2
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
59 |
0 | 60 -------- |
61 | |
62 **Example** | |
63 | |
64 Input Fasta file (with 36 bases in each sequences):: | |
65 | |
66 >1-1 | |
67 TATGGTCAGAAACCATATGCAGAGCCTGTAGGCACC | |
68 >2-1 | |
69 CAGCGAGGCTTTAATGCCATTTGGCTGTAGGCACCA | |
2
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
70 |
0 | 71 Trimming with First=1 and Last=21, we get a FASTA file with 21 bases in each sequences (starting from the first base):: |
72 | |
73 >1-1 | |
74 TATGGTCAGAAACCATATGCA | |
75 >2-1 | |
76 CAGCGAGGCTTTAATGCCATT | |
77 | |
78 Trimming with First=6 and Last=10, will generate a FASTA file with 5 bases (bases 6,7,8,9,10) in each sequences:: | |
79 | |
80 >1-1 | |
81 TCAGA | |
82 >2-1 | |
83 AGGCT | |
2
97f0b63ae7cf
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
1
diff
changeset
|
84 |
0 | 85 ------ |
86 | |
87 This tool is based on `FASTX-toolkit`__ by Assaf Gordon. | |
88 | |
89 .. __: http://hannonlab.cshl.edu/fastx_toolkit/ | |
3
9081fe62bd56
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
|
90 ]]></help> |
9081fe62bd56
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
|
91 <expand macro="citations" /> |
0 | 92 <!-- FASTX-Trimmer is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) --> |
93 </tool> |