Mercurial > repos > devteam > fastx_renamer
annotate macros.xml @ 5:f984bb114520 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit fd099d17eceaa319fbfe429f4725328d88b18c9f
author | iuc |
---|---|
date | Thu, 10 Aug 2023 06:54:17 +0000 |
parents | b29d37ca9e41 |
children |
rev | line source |
---|---|
2
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
2 <macros> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
3 <token name="@CATS@"> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
4 #if $input.is_of_type('fasta.gz', 'fastqsanger.gz', 'fastqsolexa.gz', 'fastqillumina.gz'): |
3
3599f5451ee2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit 3953b65f6b1c0336e9cadbe0792a5d3b14b5643a
iuc
parents:
2
diff
changeset
|
5 gunzip -c -f '$input' | |
2
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
6 #elif $input.is_of_type('fastqsanger.bz2', 'fastqsolexa.bz2', 'fastqillumina.bz2'): |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
7 bzcat -f '$input' | |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
8 #else: |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
9 cat '$input' | |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
10 #end if |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
11 </token> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
12 <token name="@FQQUAL@"> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
13 <![CDATA[ |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
14 #if $input.is_of_type('fastqsanger', 'fastqsanger.gz', 'fastqsanger.bz2'): |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
15 -Q 33 |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
16 #elif $input.is_of_type('fastqsolexa', 'fastqsolexa.gz', 'fastqsolexa.bz2', 'fastqillumina', 'fastqillumina.gz', 'fastqillumina.bz2'): |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
17 -Q 64 |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
18 #end if |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
19 ]]> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
20 </token> |
3
3599f5451ee2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit 3953b65f6b1c0336e9cadbe0792a5d3b14b5643a
iuc
parents:
2
diff
changeset
|
21 <token name="@GZIP@"> |
3599f5451ee2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit 3953b65f6b1c0336e9cadbe0792a5d3b14b5643a
iuc
parents:
2
diff
changeset
|
22 <![CDATA[ |
3599f5451ee2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit 3953b65f6b1c0336e9cadbe0792a5d3b14b5643a
iuc
parents:
2
diff
changeset
|
23 #if $input.is_of_type('fasta.gz', 'fastqsanger.gz', 'fastqsolexa.gz', 'fastqillumina.gz'): |
4
b29d37ca9e41
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
3
diff
changeset
|
24 | gzip -c |
b29d37ca9e41
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
3
diff
changeset
|
25 #elif $input.is_of_type('fastqsanger.bz2', 'fastqsolexa.bz2', 'fastqillumina.bz2'): |
b29d37ca9e41
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
iuc
parents:
3
diff
changeset
|
26 | bzip2 -c |
3
3599f5451ee2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit 3953b65f6b1c0336e9cadbe0792a5d3b14b5643a
iuc
parents:
2
diff
changeset
|
27 #end if |
3599f5451ee2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit 3953b65f6b1c0336e9cadbe0792a5d3b14b5643a
iuc
parents:
2
diff
changeset
|
28 ]]> |
3599f5451ee2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit 3953b65f6b1c0336e9cadbe0792a5d3b14b5643a
iuc
parents:
2
diff
changeset
|
29 </token> |
2
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
30 <xml name="requirements"> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
31 <requirements> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
32 <requirement type="package" version="@VERSION@">fastx_toolkit</requirement> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
33 <yield /> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
34 </requirements> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
35 </xml> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
36 <token name="@VERSION@">0.0.14</token> |
5
f984bb114520
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit fd099d17eceaa319fbfe429f4725328d88b18c9f
iuc
parents:
4
diff
changeset
|
37 <token name="@VERSION_SUFFIX@">2</token> |
2
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
38 <token name="@SANGER@">fastqsanger,fastqsanger.gz,fastqsanger.bz2</token> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
39 <token name="@SOLEXA@">fastqsolexa,fastqsolexa.gz,fastqsolexa.bz2</token> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
40 <token name="@ILLUMINA@">fastqillumina,fastqillumina.gz,fastqillumina.bz2</token> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
41 <token name="@FASTQS@">@SANGER@,@SOLEXA@,@ILLUMINA@</token> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
42 <token name="@FASTAS@">fasta,fasta.gz</token> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
43 <xml name="citations"> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
44 <citations> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
45 <citation type="bibtex"> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
46 @UNPUBLISHED{agordon, |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
47 author = "Assaf Gordon", |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
48 title = "FASTQ/A short-reads pre-processing tools", |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
49 year = "2010", |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
50 note = "http://hannonlab.cshl.edu/fastx_toolkit/", |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
51 url = "http://hannonlab.cshl.edu/fastx_toolkit/"} |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
52 </citation> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
53 </citations> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
54 </xml> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
55 <xml name="fasta_input"> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
56 <param name="input" type="data" format="@FASTAS@" label="Input FASTA file" /> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
57 </xml> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
58 <xml name="fastq_input"> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
59 <param name="input" type="data" format="@FASTQS@" label="Input FASTQ file" /> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
60 </xml> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
61 <xml name="fastx_input"> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
62 <param name="input" type="data" format="@FASTAS@,@FASTQS@" label="Input file in FASTA or FASTQ format" /> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
63 </xml> |
d8a3d31554d7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_renamer commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents:
diff
changeset
|
64 </macros> |