annotate salsa2.xml @ 0:575b4d5bd444 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
author iuc
date Sun, 17 Jan 2021 13:24:22 +0000
parents
children ba7b0f11e470
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
1 <tool id="salsa" name="SALSA" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
2 <description>scaffold long read assemblies with Hi-C</description>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
3 <xrefs>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
4 <xref type="bio.tools">SALSA</xref>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
5 </xrefs>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
6 <macros>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
7 <token name="@TOOL_VERSION@">2.2</token>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
8 <token name="@VERSION_SUFFIX@">0</token>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
9 </macros>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
10 <requirements>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
11 <requirement type="package" version="@TOOL_VERSION@">salsa2</requirement>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
12 <requirement type="package" version="1.11">samtools</requirement>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
13 </requirements>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
14 <command detect_errors="exit_code"><![CDATA[
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
15 ln -s '$fasta_in' input.fasta &&
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
16 samtools faidx input.fasta &&
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
17
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
18 run_pipeline.py
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
19 -a '$fasta_in'
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
20 -l input.fasta.fai
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
21 -b '$bed_file'
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
22 -e '$enzyme'
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
23
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
24 #if str($cutoff):
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
25 -c '$cutoff'
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
26 #end if
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
27 #if $gfa_file:
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
28 -g '$gfa_file'
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
29 #end if
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
30 #if $iter:
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
31 -i '$iter'
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
32 #end if
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
33 -o ./out
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
34 ]]></command>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
35 <inputs>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
36 <param name="fasta_in" type="data" format="fasta" label="Initial assembly file" help="Headers must not contain ':'."/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
37 <param name="bed_file" type="data" format="bed" label="Bed alignment" help="Sorted by read names"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
38 <param name="cutoff" argument="-c" type="integer" min="1" label="Cutoff" optional="true" help="Minimum contig length to scaffold."/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
39 <param name="gfa_file" argument="-g" type="data" format="gfa1,gfa2" optional="true" label="Sequence graphs" help="Sequence graphs encoded in GFA format."/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
40 <param name="enzyme" argument="-e" type="text" label="Restriction enzyme sequence(s)"
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
41 help="Restriction enzyme sequence. If multiple were used, include all as a comma separated list without spaces (ex. 'GATC,AAGCTT').">
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
42 <validator type="expression" message="Only alphabetical letters and the comma can be used in to define restriction enzym sequences.">value.replace(',', '').isalpha()</validator>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
43 </param>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
44 <param name="iter" argument="-i" type="integer" min="0" label="Iterations" optional="true" help="Number of iterations to run"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
45 </inputs>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
46 <outputs>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
47 <data name="scaffolds_fasta" format="fasta" from_work_dir="out/scaffolds_FINAL.fasta" label="${tool.name} on ${on_string}: FASTA assembly"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
48 <data name="scaffolds_agp" format="tabular" from_work_dir="out/scaffolds_FINAL.agp" label="${tool.name} on ${on_string}: agp output"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
49 </outputs>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
50 <tests>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
51 <test>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
52 <param name="fasta_in" value="test.fasta"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
53 <param name="length" value="test.fai"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
54 <param name="bed_file" value="test.bed"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
55 <param name="gfa_file" value="test.gfa1"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
56 <param name="enzyme" value="GATC,GANTC"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
57 <param name="cutoff" value="1000"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
58 <param name="iter" value="3"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
59 <output name="scaffolds_fasta" file="out.fasta"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
60 <output name="scaffolds_agp" file="out.agp"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
61 </test>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
62 <test>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
63 <param name="fasta_in" value="test.fasta"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
64 <param name="bed_file" value="test.bed"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
65 <param name="gfa_file" value="test.gfa1"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
66 <param name="enzyme" value="GATC,GANTC"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
67 <param name="cutoff" value="1000"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
68 <param name="iter" value="3"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
69 <output name="scaffolds_fasta" file="out.fasta"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
70 <output name="scaffolds_agp" file="out.agp"/>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
71 </test>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
72 </tests>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
73 <help><![CDATA[
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
74 **What is does**
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
75
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
76 SALSA (Simple AssembLy ScAffolder) is a scaffolding tool based on a computational method that exploits the genomic proximity
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
77 information in Hi-C data sets for long range scaffolding of de novo genome assemblies.
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
78
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
79 ]]></help>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
80 <citations>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
81 <citation type="doi">10.1101/261149</citation>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
82 <citation type="doi">10.1186/s12864-017-3879-z</citation>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
83 </citations>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
84 </tool>