Mercurial > repos > iuc > artic_minion
comparison artic_minion.xml @ 1:20165d3a8fb1 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit 125ea4d98050db32bae4f722ef153305e8d48a94"
author | iuc |
---|---|
date | Wed, 10 Jun 2020 14:30:19 -0400 |
parents | c411e2205442 |
children | 376a706dda11 |
comparison
equal
deleted
inserted
replaced
0:c411e2205442 | 1:20165d3a8fb1 |
---|---|
1 <tool id="artic_minion" name="ARTIC minion" version="1.1.0_rc2+galaxy0"> | 1 <tool id="artic_minion" name="ARTIC minion" version="1.1.2+galaxy0"> |
2 <description></description> | 2 <description>Build consensus sequence and call variants from amplicon-based nanopore sequence data</description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="1.1.0_rc2">artic</requirement> | 4 <requirement type="package" version="1.1.2">artic</requirement> |
5 </requirements> | 5 </requirements> |
6 <command detect_errors="exit_code"><![CDATA[ | 6 <command detect_errors="exit_code"><![CDATA[ |
7 mkdir -p 'scheme/name/version' && | 7 mkdir -p 'scheme/name/version' && |
8 #if str( $primer_scheme_source.primer_scheme_source_selector ) == "tool_data_table": | 8 #if str( $primer_scheme_source.primer_scheme_source_selector ) == "tool_data_table": |
9 ln -s '${primer_scheme_source.primer_scheme_bedfile.fields.path}' 'scheme/name/version/name.scheme.bed' && | 9 ln -s '${primer_scheme_source.primer_scheme_bedfile.fields.path}' 'scheme/name/version/name.scheme.bed' && |
36 help="Screening files must be stored in the 'primer_scheme_bedfiles' tool data table"> | 36 help="Screening files must be stored in the 'primer_scheme_bedfiles' tool data table"> |
37 <option value="tool_data_table">From tool data table</option> | 37 <option value="tool_data_table">From tool data table</option> |
38 <option value="history">From history</option> | 38 <option value="history">From history</option> |
39 </param> | 39 </param> |
40 <when value="tool_data_table"> | 40 <when value="tool_data_table"> |
41 <param name="primer_scheme_bedfile" type="select" format="bed" label="Primer Scheme"> | 41 <param name="primer_scheme_bedfile" type="select" format="tabular" label="Primer Scheme"> |
42 <options from_data_table="primer_scheme_bedfiles"> | 42 <options from_data_table="primer_scheme_bedfiles"> |
43 <validator type="no_options" message="No primer scheme .bed files are available" /> | 43 <validator type="no_options" message="No primer scheme .bed files are available" /> |
44 </options> | 44 </options> |
45 </param> | 45 </param> |
46 </when> | 46 </when> |
47 <when value="history"> | 47 <when value="history"> |
48 <param name="primer_scheme_bedfile" type="data" format="bed" label="Primer Scheme" /> | 48 <param name="primer_scheme_bedfile" type="data" format="tabular" label="Primer Scheme" /> |
49 </when> | 49 </when> |
50 </conditional> | 50 </conditional> |
51 <conditional name="reference_source"> | 51 <conditional name="reference_source"> |
52 <param name="reference_source_selector" type="select" label="Will you select a reference genome from your history or use a built-in reference?" > | 52 <param name="reference_source_selector" type="select" label="Will you select a reference genome from your history or use a built-in reference?" > |
53 <option value="cached">Use a built-in reference</option> | 53 <option value="cached">Use a built-in reference</option> |
68 </conditional> | 68 </conditional> |
69 </inputs> | 69 </inputs> |
70 <outputs> | 70 <outputs> |
71 <data name="alignment_trimmed" format="bam" from_work_dir="*.trimmed.bam" label="${tool.name} on ${on_string}: trimmed alignment" /> | 71 <data name="alignment_trimmed" format="bam" from_work_dir="*.trimmed.bam" label="${tool.name} on ${on_string}: trimmed alignment" /> |
72 <data name="variants_tabular" format="tabular" from_work_dir="*.variants.tab" label="${tool.name} on ${on_string}: variants table" /> | 72 <data name="variants_tabular" format="tabular" from_work_dir="*.variants.tab" label="${tool.name} on ${on_string}: variants table" /> |
73 <data name="variants_merged_vcf" format="vcf_bgzip" from_work_dir="*.merged.vcf.gz" label="${tool.name} on ${on_string}: variants vcf" /> | 73 <data name="variants_merged_vcf" format="vcf_bgzip" from_work_dir="*.merged.vcf.gz" label="${tool.name} on ${on_string}: variants merged" /> |
74 <data name="variants_pass_vcf" format="vcf_bgzip" from_work_dir="*.pass.vcf.gz" label="${tool.name} on ${on_string}: variants pass" /> | |
75 <data name="variants_fail_vcf" format="vcf" from_work_dir="*.fail.vcf" label="${tool.name} on ${on_string}: variants fail" /> | |
74 <data name="consensus_fasta" format="fasta" from_work_dir="*.consensus.fasta" label="${tool.name} on ${on_string}: consensus sequence" /> | 76 <data name="consensus_fasta" format="fasta" from_work_dir="*.consensus.fasta" label="${tool.name} on ${on_string}: consensus sequence" /> |
77 <data name="alignment_report" format="tabular" from_work_dir="*.alignreport.txt" label="${tool.name} on ${on_string}: alignment report" /> | |
78 <data name="coverage_mask" format="tabular" from_work_dir="*.coverage_mask.txt" label="${tool.name} on ${on_string}: coverage mask" /> | |
79 <data name="analysis_log" format="txt" from_work_dir="*.minion.log.txt" label="${tool.name} on ${on_string}: analysis log" /> | |
75 </outputs> | 80 </outputs> |
76 <tests> | 81 <tests> |
77 <test> | 82 <test> |
78 <param name="reference_source_selector" value="history" /> | 83 <param name="reference_source_selector" value="history" /> |
79 <param name="read_file" value="SRR11410539_seqtk_sample_250_1.fastq" /> | 84 <param name="read_file" value="SRR11410539_seqtk_sample_500_1.fastq" /> |
80 <param name="reference" value="nCoV-2019.reference.fasta" /> | 85 <param name="reference" value="nCoV-2019.reference.fasta" /> |
81 <param name="primer_scheme_source_selector" value="tool_data_table" /> | 86 <param name="primer_scheme_source_selector" value="tool_data_table" /> |
82 <param name="primer_scheme_bedfile" value="test_entry" /> | 87 <param name="primer_scheme_bedfile" value="test_entry" /> |
83 <output name="consensus_fasta" file="SRR11410539_seqtk_sample_250_1.fastq.consensus.fasta" /> | 88 <output name="consensus_fasta" file="SRR11410539_seqtk_sample_500_1.fastq.consensus.fasta" /> |
84 </test> | 89 </test> |
85 <test> | 90 <test> |
86 <param name="reference_source_selector" value="history" /> | 91 <param name="reference_source_selector" value="history" /> |
87 <param name="read_file" value="SRR11410539_seqtk_sample_250_1.fastq" /> | 92 <param name="read_file" value="SRR11410539_seqtk_sample_500_1.fastq" /> |
88 <param name="reference" value="nCoV-2019.reference.fasta" /> | 93 <param name="reference" value="nCoV-2019.reference.fasta" /> |
89 <param name="primer_scheme_source_selector" value="history" /> | 94 <param name="primer_scheme_source_selector" value="history" /> |
90 <param name="primer_scheme_bedfile" value="nCoV-2019.V1.bed" /> | 95 <param name="primer_scheme_bedfile" value="nCoV-2019.scheme.V1.bed" /> |
91 <output name="consensus_fasta" file="SRR11410539_seqtk_sample_250_1.fastq.consensus.fasta" /> | 96 <output name="consensus_fasta" file="SRR11410539_seqtk_sample_500_1.fastq.consensus.fasta" /> |
92 </test> | 97 </test> |
93 <test> | 98 <test> |
94 <param name="reference_source_selector" value="tool_data_table" /> | 99 <param name="reference_source_selector" value="tool_data_table" /> |
95 <param name="read_file" value="SRR11410539_seqtk_sample_250_1.fastq" /> | 100 <param name="read_file" value="SRR11410539_seqtk_sample_500_1.fastq" /> |
96 <param name="reference" value="test_entry" /> | 101 <param name="reference" value="test_entry" /> |
97 <param name="primer_scheme_source_selector" value="tool_data_table" /> | 102 <param name="primer_scheme_source_selector" value="tool_data_table" /> |
98 <param name="primer_scheme_bedfile" value="test_entry" /> | 103 <param name="primer_scheme_bedfile" value="test_entry" /> |
99 <output name="consensus_fasta" file="SRR11410539_seqtk_sample_250_1.fastq.consensus.fasta" /> | 104 <output name="consensus_fasta" file="SRR11410539_seqtk_sample_500_1.fastq.consensus.fasta" /> |
100 </test> | 105 </test> |
101 </tests> | 106 </tests> |
102 <help><![CDATA[ | 107 <help><![CDATA[ |
103 This tool aligns MinION reads that were generated from a tiling amplicon library against a viral reference sequence. | 108 This tool aligns MinION reads that were generated from a tiling amplicon library against a viral reference sequence. |
104 It generates a consensus fasta file and a vcf variant file. | 109 It generates a consensus fasta file and a vcf variant file. |