annotate macros.xml @ 0:60573349e9ae draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
author iuc
date Wed, 11 Nov 2020 21:54:51 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
2 <macros>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
3 <token name="@TOOL_VERSION@">0.6.0</token>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
4 <token name="@PROFILE@">18.01</token>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
5 <xml name="requirements">
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
6 <requirements>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
7 <requirement type="package" version="@TOOL_VERSION@">shasta</requirement>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
8 </requirements>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
9 </xml>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
10 <xml name="version_command">
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
11 <version_command>shasta --version</version_command>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
12 </xml>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
13 <xml name="citations">
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
14 <citations>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
15 <citation type="doi">10.1038/s41587-020-0503-6</citation>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
16 <citation type="bibtex">@online{shasta,
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
17 author = {TODOLastName,TODOFirstName},
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
18 title = {shasta},
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
19 year = 2020,
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
20 url = {https://github.com/chanzuckerberg/shasta},
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
21 urldate = {2020-11-05}
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
22 }</citation>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
23 </citations>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
24 </xml>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
25 <!--
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
26 input
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
27 -->
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
28 <token name="@INIT_INPUT_READS@"><![CDATA[
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
29 #for $counter, $input in enumerate($in_data)
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
30 #if $input.is_of_type("fasta.gz")
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
31 #set $ext = "fasta"
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
32 gzip -dcf '$input' > ./input_${counter}.${ext} &&
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
33 #elif $input.is_of_type("fastq.gz","fastqsanger.gz")
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
34 #set $ext = "fastq"
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
35 gzip -dcf '$input' > ./input_${counter}.${ext} &&
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
36 #elif $input.is_of_type("fastqsanger", "fastq"):
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
37 #set $ext = "fastq"
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
38 ### I tried symlinking but shasta still complained about file extensions
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
39 cp '$input' ./input_${counter}.${ext} &&
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
40 #elif $input.is_of_type("fasta"):
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
41 #set $ext = "fasta"
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
42 ### I tried symlinking but shasta still complained about file extensions
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
43 cp '$input' ./input_${counter}.${ext} &&
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
44 #end if
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
45 #end for
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
46 ]]></token>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
47
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
48 <xml name="input_reads">
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
49 <param name="in_data" type="data" format="fasta,fastq,fastqsanger,fasta.gz,fastq.gz,fastqsanger.gz" multiple="true" label="Input read file(s)"/>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
50 </xml>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
51
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
52 <xml name="config_selection">
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
53 <param name="config_select" type="select" label="Initial config file to build off of." help="Link to the directory where these config files are stored can be found in the tool help below.">
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
54 <option value="Nanopore-Dec2019.conf"></option>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
55 <option value="Nanopore-Jun2020.conf"></option>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
56 <option value="Nanopore-OldGuppy-Sep2020.conf"></option>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
57 <option value="Nanopore-Sep2020.conf"></option>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
58 <option value="Nanopore-UL-Dec2019.conf"></option>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
59 <option value="Nanopore-UL-Jun2020.conf"></option>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
60 <option value="Nanopore-UL-Sep2020.conf"></option>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
61 <option value="Nanopore-UL-iterative-Sep2020.conf"></option>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
62 <option value="PacBio-CCS-Dec2019.conf"></option>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
63 <option value="PacBio-CLR-Dec2019.conf"></option>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
64 </param>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
65 </xml>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
66 <!--
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
67 Help
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
68 -->
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
69
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
70 <token name="@WID@"><![CDATA[
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
71 The goal of the *Shasta* long read assembler is to rapidly produce accurate assembled sequence using as input DNA reads generated by Oxford Nanopore flow cells.
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
72
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
73 Computational methods used by the Shasta assembler include:
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
74
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
75 Using a run-length representation of the read sequence. This makes the assembly process more resilient to errors in homopolymer repeat counts, which are the most common type of errors in Oxford Nanopore reads.
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
76
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
77 Using in some phases of the computation a representation of the read sequence based on markers, a fixed subset of short k-mers (k ≈ 10).
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
78 ]]></token>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
79 <token name="@REFERENCES@"><![CDATA[
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
80 More information are available on the `documentation <https://chanzuckerberg.github.io/shasta/>`_ or the `github <https://github.com/chanzuckerberg/shasta>`_ .
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
81 ]]></token>
60573349e9ae "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/shasta commit 6d14992ea4fb1af09373d51b3a48166afcbd3a74"
iuc
parents:
diff changeset
82 </macros>