Mercurial > repos > bgruening > nanopolish_polya
annotate macros.xml @ 5:4857d5bcce52 draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
author | bgruening |
---|---|
date | Thu, 30 Nov 2023 17:59:18 +0000 |
parents | be717b65851f |
children |
rev | line source |
---|---|
0
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
1 <macros> |
5
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
2 <token name="@VERSION@">0.14.0</token> |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
3 <token name="@VERSION_SUFFIX@">0</token> |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
4 <token name="@PROFILE@">22.01</token> |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
5 |
0
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
6 <xml name="requirements"> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
7 <requirements> |
2
be717b65851f
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit dff183f4eb2d3df42917ec4fed0fbdb2ea11e19a"
bgruening
parents:
0
diff
changeset
|
8 <requirement type="package" version="@VERSION@">nanopolish</requirement> |
0
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
9 <yield/> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
10 </requirements> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
11 </xml> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
12 |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
13 <!-- index outputs |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
14 <data name="output_index" format="nanopolish_index" from_work_dir="reads.fasta.index" /> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
15 <data name="output_index_fai" format="nanopolish_index_fai" from_work_dir="reads.fasta.index.fai" /> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
16 <data name="output_index_gzi" format="nanopolish_index_gzi" from_work_dir="reads.fasta.index.gzi" /> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
17 <data name="output_index_readdb" format="nanopolish_index_readdb" from_work_dir="reads.fasta.index.readdb" /> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
18 --> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
19 <!-- <output name="output_index" file="reads.fasta.index" /> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
20 <output name="output_index_fai" file="reads.fasta.index.fai" /> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
21 <output name="output_index_gzi" file="reads.fasta.index.gzi" /> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
22 <output name="output_index_readdb" file="reads.fasta.index.readdb" /> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
23 --> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
24 |
5
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
25 |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
26 <token name="@PREPROCESS_INPUTS@"><![CDATA[ |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
27 ln -s '$input_merged' reads.fasta && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
28 |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
29 mkdir fast5_files && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
30 #if $input_reads_raw.extension == 'fast5': |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
31 ln -s '$input_reads_raw' fast5_files/read1.fast5 && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
32 |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
33 #else if $input_reads_raw.extension == 'fast5.tar': |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
34 ln -s '$input_reads_raw' fast5_files.tar && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
35 tar -xf fast5_files.tar -C fast5_files && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
36 |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
37 #else if $input_reads_raw.extension == 'fast5.tar.bz2': |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
38 ln -s '$input_reads_raw' fast5_files.tar.bz2 && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
39 tar -xjf fast5_files.tar.bz2 -C fast5_files && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
40 |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
41 #else if $input_reads_raw.extension == 'fast5.tar.xz': |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
42 ln -s '$input_reads_raw' fast5_files.tar.xz && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
43 tar -xf fast5_files.tar.xz -C fast5_files && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
44 |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
45 #else if $input_reads_raw.extension == 'fast5.tar.gz': |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
46 ln -s '$input_reads_raw' fast5_files.tar.gz && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
47 tar -xzf fast5_files.tar.gz -C fast5_files && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
48 |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
49 #else: |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
50 echo 'Unsupported fast5 input type' && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
51 exit 1 && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
52 |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
53 #end if |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
54 |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
55 nanopolish index |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
56 -d fast5_files/ |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
57 #if $adv.input_seq_summary: |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
58 -s '$adv.input_seq_summary' |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
59 #end if |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
60 reads.fasta && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
61 |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
62 ln -s '$b' reads.bam && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
63 ln -s '${b.metadata.bam_index}' reads.bam.bai && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
64 #if $reference_source.reference_source_selector == 'history': |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
65 ln -f -s '$reference_source.ref_file' genome.fa && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
66 #else: |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
67 ln -f -s '$reference_source.ref_file.fields.path' genome.fa && |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
68 #end if |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
69 ]]></token> |
4857d5bcce52
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit de2370d1a385731b3c65f1dcc44e7b8558da8fd4
bgruening
parents:
2
diff
changeset
|
70 |
0
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
71 <xml name="citations"> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
72 <citations> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
73 <citation type="doi">10.1038/nmeth.3444</citation> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
74 <citation type="doi">10.1038/nmeth.4184</citation> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
75 <yield /> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
76 </citations> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
77 </xml> |
7739a9b0dd83
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit 89078a214cefd31d28da75ddebb21f546fba79df-dirty
bgruening
parents:
diff
changeset
|
78 </macros> |