annotate sarscov2formatter.xml @ 0:1c664ff29354 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
author iuc
date Mon, 04 May 2020 05:39:35 -0400
parents
children e3a7995dce75
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
1 <tool id="sarscov2formatter" name="sarscov2formatter" version="0.1" profile="18.01">
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
2 <requirements>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
3 <requirement type="package" version="0.5.2">sarscov2formatter</requirement>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
4 </requirements>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
5 <command><![CDATA[
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
6 sarscov2formatter
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
7 -a $align
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
8 #if $source.source_choice == 'ncbi':
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
9 -m ncbi
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
10 #else:
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
11 -m '$source.meta'
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
12 #end if
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
13 ]]></command>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
14 <inputs>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
15 <param name="align" type="data" format="fasta" label="Multiple Sequence Alignment (MSA)" help='MSA to be used in HyPhy analysis' />
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
16 <conditional name="source" >
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
17 <param name="source_choice" type="select" label="NCBI datasource or other?" >
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
18 <option value="ncbi">NCBI</option>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
19 <option value="other">Other</option>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
20 </param>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
21 <when value="ncbi" />
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
22 <when value="other" >
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
23 <param name="meta" type="data" format='tabular' label="Metadata source" help="Tabular file with metadata with the correct columns (see below)" />
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
24 </when>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
25 </conditional>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
26 </inputs>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
27 <outputs>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
28 <data name="msa" format="fasta" from_work_dir="msa.fasta" label="${tool.name}: MSA" />
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
29 <data name="dups" format="json" from_work_dir="duplicates.json" label="${tool.name}: Duplicates" />
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
30 <data name="outmeta" format="json" from_work_dir="meta.json" label="${tool.name}: Metadata" />
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
31 </outputs>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
32 <tests>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
33 <test>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
34 <param name="align" ftype="fasta" value="align.fasta" />
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
35 <param name="source_choice" value="ncbi" />
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
36 <output name="msa" ftype="fasta" compare="diff" value="msa.fasta" />
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
37 <output name="dups" ftype="json" compare="diff" value="dups.json" />
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
38 <output name="outmeta" ftype="json" compare="diff" value="meta.json" />
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
39 </test>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
40 </tests>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
41 <help><![CDATA[
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
42
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
43 =================
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
44 sarscov2formatter
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
45 =================
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
46
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
47 Custom sript that performs necessary formatting operations for the SARS-CoV2 Selection Analysis workflow.
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
48
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
49 If using non-NCBI data, the metadata input file must be tabular with the following columns: ID, collection_date, country, state (optional), and locality (optional). Optional columns should still be created even if they are not used.
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
50
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
51 Dates should be of the format: YYMMDD (example: May 1 2020 = 20200501).
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
52
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
53
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
54 ]]></help>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
55 <citations>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
56 <citation type="bibtex">
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
57 @misc{githubsarscov2formatter,
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
58 author = {Nicholas Keener},
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
59 year = {2020},
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
60 title = {sarscov2formatter},
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
61 publisher = {Github},
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
62 journal = {Github repository},
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
63 url = {https://github.com/nickeener/sarscov2formatter},
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
64 }</citation>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
65 </citations>
1c664ff29354 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sarscov2formatter commit a9dbee25f6ad053c0c9b78f85276c7c839d2ab7a"
iuc
parents:
diff changeset
66 </tool>