Mercurial > repos > iuc > artic_minion
annotate artic_minion.xml @ 9:468b90c41cde draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41716a0929d9eb829e0772016ae9c24f24cf4b7e
author | iuc |
---|---|
date | Wed, 21 Jun 2023 15:45:32 +0000 |
parents | 6f52ebc01098 |
children |
rev | line source |
---|---|
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
1 <tool id="artic_minion" name="ARTIC minion" version="@PACKAGE_VERSION@+galaxy0" profile="20.09"> |
1
20165d3a8fb1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 125ea4d98050db32bae4f722ef153305e8d48a94"
iuc
parents:
0
diff
changeset
|
2 <description>Build consensus sequence and call variants from amplicon-based nanopore sequence data</description> |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
3 <macros> |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
4 <import>macros.xml</import> |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
5 </macros> |
6
f212134e204c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit a786695a05177842dcc89ef6bb21b38d7e7ce2db"
iuc
parents:
5
diff
changeset
|
6 <xrefs> |
f212134e204c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit a786695a05177842dcc89ef6bb21b38d7e7ce2db"
iuc
parents:
5
diff
changeset
|
7 <xref type="bio.tools">artic</xref> |
f212134e204c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit a786695a05177842dcc89ef6bb21b38d7e7ce2db"
iuc
parents:
5
diff
changeset
|
8 </xrefs> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
9 <requirements> |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
10 <requirement type="package" version="@PACKAGE_VERSION@">artic</requirement> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
11 </requirements> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
12 <command detect_errors="exit_code"><![CDATA[ |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
13 mkdir -p 'scheme/name/V1' && |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
14 #if str( $primer_scheme_source.primer_scheme_source_selector ) == "tool_data_table": |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
15 ln -s '${primer_scheme_source.primer_scheme_bedfile.fields.path}' 'scheme/name/V1/name.scheme.bed' && |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
16 #else: |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
17 ln -s '${primer_scheme_source.primer_scheme_bedfile}' 'scheme/name/V1/name.scheme.bed' && |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
18 #end if |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
19 #if str( $reference_source.reference_source_selector ) == "history": |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
20 ln -s '${reference_source.reference}' 'scheme/name/V1/name.reference.fasta' && |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
21 samtools faidx 'scheme/name/V1/name.reference.fasta' && |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
22 #else: |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
23 ln -s '${reference_source.reference.fields.path}' 'scheme/name/V1/name.reference.fasta' && |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
24 samtools faidx 'scheme/name/V1/name.reference.fasta' && |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
25 #end if |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
26 artic minion |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
27 --threads \${GALAXY_SLOTS:-1} |
3
94020e19b46c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 54e51c32ac2c1fdc5391ee44f749cf6617db5acb"
iuc
parents:
2
diff
changeset
|
28 #if $normalise > 0: |
94020e19b46c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 54e51c32ac2c1fdc5391ee44f749cf6617db5acb"
iuc
parents:
2
diff
changeset
|
29 --normalise ${normalise} |
94020e19b46c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 54e51c32ac2c1fdc5391ee44f749cf6617db5acb"
iuc
parents:
2
diff
changeset
|
30 #end if |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
31 --read-file '${read_file}' |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
32 --scheme-directory 'scheme' |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
33 --medaka |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
34 --medaka-model '$medaka_model' |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
35 $bwa |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
36 'name/V1' |
7
f5643712dca7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit e6a1f8250cdcbd279220f1ea9fcc11ac5a90df46"
iuc
parents:
6
diff
changeset
|
37 ## enclose the sample name in extra single quotes because |
f5643712dca7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit e6a1f8250cdcbd279220f1ea9fcc11ac5a90df46"
iuc
parents:
6
diff
changeset
|
38 ## the minion pipeline script doesn't care about passing |
f5643712dca7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit e6a1f8250cdcbd279220f1ea9fcc11ac5a90df46"
iuc
parents:
6
diff
changeset
|
39 ## its arguments safely. |
f5643712dca7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit e6a1f8250cdcbd279220f1ea9fcc11ac5a90df46"
iuc
parents:
6
diff
changeset
|
40 "'"'${read_file.element_identifier}'"'" |
3
94020e19b46c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 54e51c32ac2c1fdc5391ee44f749cf6617db5acb"
iuc
parents:
2
diff
changeset
|
41 && bgzip -f '${read_file.element_identifier}.fail.vcf' |
7
f5643712dca7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit e6a1f8250cdcbd279220f1ea9fcc11ac5a90df46"
iuc
parents:
6
diff
changeset
|
42 ## remove enclosing single-quotes from header of output consensus fasta |
8
6f52ebc01098
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 42a048391200da4c664650f7e7665c97ace584ee"
iuc
parents:
7
diff
changeset
|
43 && sed -i "1s/'${read_file.element_identifier}'/${read_file.element_identifier}/" '${read_file.element_identifier}.consensus.fasta' |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
44 ]]></command> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
45 <inputs> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
46 <param argument="--read-file" type="data" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz" label="Input Read File"/> |
3
94020e19b46c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 54e51c32ac2c1fdc5391ee44f749cf6617db5acb"
iuc
parents:
2
diff
changeset
|
47 <param argument="--normalise" type="integer" min="0" value="0" |
94020e19b46c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 54e51c32ac2c1fdc5391ee44f749cf6617db5acb"
iuc
parents:
2
diff
changeset
|
48 label="Coverage normalisation depth" |
94020e19b46c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 54e51c32ac2c1fdc5391ee44f749cf6617db5acb"
iuc
parents:
2
diff
changeset
|
49 help="Sample at most this number of reads per amplicon and strand. default=0 (use all reads)" /> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
50 <param argument="--bwa" type="boolean" truevalue="--bwa" falsevalue="" label="Use bwa aligner"/> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
51 <conditional name="primer_scheme_source"> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
52 <param name="primer_scheme_source_selector" type="select" label="Select a primer scheme from your history or use one from a tool data table?" |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
53 help="Screening files must be stored in the 'primer_scheme_bedfiles' tool data table"> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
54 <option value="tool_data_table">From tool data table</option> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
55 <option value="history">From history</option> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
56 </param> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
57 <when value="tool_data_table"> |
1
20165d3a8fb1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 125ea4d98050db32bae4f722ef153305e8d48a94"
iuc
parents:
0
diff
changeset
|
58 <param name="primer_scheme_bedfile" type="select" format="tabular" label="Primer Scheme"> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
59 <options from_data_table="primer_scheme_bedfiles"> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
60 <validator type="no_options" message="No primer scheme .bed files are available" /> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
61 </options> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
62 </param> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
63 </when> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
64 <when value="history"> |
1
20165d3a8fb1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 125ea4d98050db32bae4f722ef153305e8d48a94"
iuc
parents:
0
diff
changeset
|
65 <param name="primer_scheme_bedfile" type="data" format="tabular" label="Primer Scheme" /> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
66 </when> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
67 </conditional> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
68 <conditional name="reference_source"> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
69 <param name="reference_source_selector" type="select" label="Will you select a reference genome from your history or use a built-in reference?" > |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
70 <option value="cached">Use a built-in reference</option> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
71 <option value="history">Use a reference from history</option> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
72 </param> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
73 <when value="cached"> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
74 <param name="reference" type="select" label="Using reference genome" help="Select genome from the list"> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
75 <options from_data_table="all_fasta"> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
76 <filter type="sort_by" column="2" /> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
77 <validator type="no_options" message="No references are available" /> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
78 </options> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
79 </param> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
80 </when> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
81 <when value="history"> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
82 <param name="reference" type="data" format="fasta" label="Use the following dataset as the reference sequence" |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
83 help="You can upload a FASTA sequence to the history and use it as reference" /> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
84 </when> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
85 </conditional> |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
86 <param type="text" name="medaka_model" label="Medaka model" help="Model string to pass to medaka (see https://github.com/nanoporetech/medaka#models)"> |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
87 <validator type="expression" message="Please specify a valid medaka model string (see https://github.com/nanoporetech/medaka#models)">(len(value.strip().split('_')) == 3 or len(value.strip().split('_')) == 4) and value.strip().startswith('r')</validator> |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
88 </param> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
89 </inputs> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
90 <outputs> |
3
94020e19b46c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 54e51c32ac2c1fdc5391ee44f749cf6617db5acb"
iuc
parents:
2
diff
changeset
|
91 <data name="alignment_trimmed" format="bam" from_work_dir="*.primertrimmed.rg.sorted.bam" label="${tool.name} on ${on_string}: trimmed alignment" /> |
94020e19b46c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 54e51c32ac2c1fdc5391ee44f749cf6617db5acb"
iuc
parents:
2
diff
changeset
|
92 <data name="alignment_report" format="tabular" from_work_dir="*.alignreport.txt" label="${tool.name} on ${on_string}: alignment report" /> |
94020e19b46c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 54e51c32ac2c1fdc5391ee44f749cf6617db5acb"
iuc
parents:
2
diff
changeset
|
93 <data name="variants_merged_vcf" format="vcf_bgzip" from_work_dir="*.merged.vcf.gz" label="${tool.name} on ${on_string}: medaka variant calls" /> |
94020e19b46c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 54e51c32ac2c1fdc5391ee44f749cf6617db5acb"
iuc
parents:
2
diff
changeset
|
94 <data name="variants_fail_vcf" format="vcf_bgzip" from_work_dir="*.fail.vcf.gz" label="${tool.name} on ${on_string}: variants fail" /> |
4
a346730e5552
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 0c155c65c6499d62ce2ff020c1a904d6b959adb0"
iuc
parents:
3
diff
changeset
|
95 <data name="variants_pass_vcf" format="vcf_bgzip" from_work_dir="*.pass.vcf.gz" label="${tool.name} on ${on_string}: variants pass" /> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
96 <data name="consensus_fasta" format="fasta" from_work_dir="*.consensus.fasta" label="${tool.name} on ${on_string}: consensus sequence" /> |
3
94020e19b46c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 54e51c32ac2c1fdc5391ee44f749cf6617db5acb"
iuc
parents:
2
diff
changeset
|
97 <data name="coverage_mask" format="tabular" from_work_dir="*.coverage_mask.txt" label="${tool.name} on ${on_string}: consensus coverage mask" /> |
1
20165d3a8fb1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 125ea4d98050db32bae4f722ef153305e8d48a94"
iuc
parents:
0
diff
changeset
|
98 <data name="analysis_log" format="txt" from_work_dir="*.minion.log.txt" label="${tool.name} on ${on_string}: analysis log" /> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
99 </outputs> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
100 <tests> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
101 <test> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
102 <param name="reference_source_selector" value="history" /> |
1
20165d3a8fb1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 125ea4d98050db32bae4f722ef153305e8d48a94"
iuc
parents:
0
diff
changeset
|
103 <param name="read_file" value="SRR11410539_seqtk_sample_500_1.fastq" /> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
104 <param name="reference" value="nCoV-2019.reference.fasta" /> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
105 <param name="primer_scheme_source_selector" value="tool_data_table" /> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
106 <param name="primer_scheme_bedfile" value="test_entry" /> |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
107 <param name="medaka_model" value="r941_min_high_g360" /> |
1
20165d3a8fb1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 125ea4d98050db32bae4f722ef153305e8d48a94"
iuc
parents:
0
diff
changeset
|
108 <output name="consensus_fasta" file="SRR11410539_seqtk_sample_500_1.fastq.consensus.fasta" /> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
109 </test> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
110 <test> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
111 <param name="reference_source_selector" value="history" /> |
1
20165d3a8fb1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 125ea4d98050db32bae4f722ef153305e8d48a94"
iuc
parents:
0
diff
changeset
|
112 <param name="read_file" value="SRR11410539_seqtk_sample_500_1.fastq" /> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
113 <param name="reference" value="nCoV-2019.reference.fasta" /> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
114 <param name="primer_scheme_source_selector" value="history" /> |
1
20165d3a8fb1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 125ea4d98050db32bae4f722ef153305e8d48a94"
iuc
parents:
0
diff
changeset
|
115 <param name="primer_scheme_bedfile" value="nCoV-2019.scheme.V1.bed" /> |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
116 <param name="medaka_model" value="r941_min_high_g360" /> |
1
20165d3a8fb1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 125ea4d98050db32bae4f722ef153305e8d48a94"
iuc
parents:
0
diff
changeset
|
117 <output name="consensus_fasta" file="SRR11410539_seqtk_sample_500_1.fastq.consensus.fasta" /> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
118 </test> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
119 <test> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
120 <param name="reference_source_selector" value="tool_data_table" /> |
1
20165d3a8fb1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 125ea4d98050db32bae4f722ef153305e8d48a94"
iuc
parents:
0
diff
changeset
|
121 <param name="read_file" value="SRR11410539_seqtk_sample_500_1.fastq" /> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
122 <param name="reference" value="test_entry" /> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
123 <param name="primer_scheme_source_selector" value="tool_data_table" /> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
124 <param name="primer_scheme_bedfile" value="test_entry" /> |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
125 <param name="medaka_model" value="r941_min_high_g360" /> |
1
20165d3a8fb1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 125ea4d98050db32bae4f722ef153305e8d48a94"
iuc
parents:
0
diff
changeset
|
126 <output name="consensus_fasta" file="SRR11410539_seqtk_sample_500_1.fastq.consensus.fasta" /> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
127 </test> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
128 </tests> |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
129 <help><![CDATA[ |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
130 ARTIC_ minion aligns Nanopore reads that were generated from a tiling amplicon library against a viral reference sequence. |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
131 It generates a consensus fasta file and a vcf variant file. |
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
132 |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
133 This tool is configured to use the experimental 'medaka' variant caller and must be supplied with the name of |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
134 a model file to use with 'medaka', see the `medaka web page`_ for details. |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
135 |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
136 .. _ARTIC: https://artic.readthedocs.io/en/latest/ |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
137 .. _medaka web page: https://github.com/nanoporetech/medaka#models |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
138 |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
139 Note that you should choose an appropriate model for the medaka version used by ARTIC minion. |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
140 |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
141 ================== ================== |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
142 ARTIC version medaka version |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
143 ================== ================== |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
144 1.2.1 1.0.3 |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
145 1.3.0-dev 1.2.3 |
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
146 ================== ================== |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
147 ]]></help> |
5
7a7d7f30ddfc
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit dacdfa7ecfbdd1c1a12494cf7d0450185c122c84"
iuc
parents:
4
diff
changeset
|
148 <expand macro="citations" /> |
0
c411e2205442
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 41ad91410844b6d399844b253e39fa29955b96d6"
iuc
parents:
diff
changeset
|
149 </tool> |