annotate salsa2.xml @ 3:f77f7a7f3b83 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
author iuc
date Thu, 11 Nov 2021 15:03:17 +0000
parents ab5b7f6b7198
children 9a22227bb6d0
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>
1
ba7b0f11e470 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 768ca0e7416c7941de16afb18be88fb35bf8a0b7"
iuc
parents: 0
diff changeset
7 <token name="@TOOL_VERSION@">2.3</token>
3
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
8 <token name="@VERSION_SUFFIX@">2</token>
0
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
2
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
21 #if $enzyme_conditional.enzyme_options == 'preconfigured':
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
22 #if $enzyme_conditional.preconfigured_enzymes == 'dovetail'
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
23 -e 'GATC'
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
24 #else if $enzyme_conditional.preconfigured_enzymes == 'arima1'
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
25 -e 'GATC,GANTC'
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
26 #else
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
27 -e 'GATC,GANTC,CTNAG,TTAA'
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
28 #end if
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
29 #else:
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
30 -e '${enzyme_conditional.manual_enzyme}'
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
31 #end if
0
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
32 -b '$bed_file'
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
33 #if str($cutoff):
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
34 -c '$cutoff'
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
35 #end if
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
36 #if $gfa_file:
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
37 -g '$gfa_file'
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
38 #end if
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
39 #if $iter:
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
40 -i '$iter'
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
41 #end if
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
42 -o ./out
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
43 ]]></command>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
44 <inputs>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
45 <param name="fasta_in" type="data" format="fasta" label="Initial assembly file" help="Headers must not contain ':'."/>
3
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
46 <param name="bed_file" type="data" format="bed" label="Bed alignment" help="To start scaffolding with SALSA, reads need to be mapped to the assembly.
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
47 BWA or BOWTIE2 are recommended. SALSA requires a bed file as the input. The alignment bam file can be converted using the bamToBed command from
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
48 the Bedtools package."/>
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
49 <param name="cutoff" argument="-c" type="integer" min="1" label="Cutoff" optional="true" help="Minimum contig length to scaffold"/>
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
50 <param name="gfa_file" argument="-g" type="data" format="gfa1,gfa2" optional="true" label="Sequence graphs"
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
51 help="An assembly graph can be optionally provided to guide the scaffolding, potentially reducing the scaffolding errors"/>
2
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
52 <conditional name="enzyme_conditional">
3
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
53 <param name="enzyme_options" type="select" label="Enzyme selection" help="Hi-C experiments can use different restriction enzymes.
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
54 The enzyme frequency in contigs is used to normalize the Hi-C interaction frequency. Note that you need to specify the actual
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
55 sequence of the cutting site for a restriction enzyme and not the enzyme name. You can also specify DNASE as an enzyme if you
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
56 use an enzyme-free prep, e.g. Omin-C.">
2
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
57 <option value="preconfigured">Preconfigured restriction enzymes</option>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
58 <option value="specific">Enter a specific sequence</option>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
59 </param>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
60 <when value="preconfigured">
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
61 <param name="preconfigured_enzymes" type="select" multiple="true" label="Preconfigured enzymes">
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
62 <option value="dovetail">Dovetail Chicago, Dovetail Hi-C or Phase: GATC</option>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
63 <option value="arima1">Arima Hi-C 1.0: GATC, GANTC</option>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
64 <option value="arima2">Arima Hi-C 2.0: GATC, GANTC, CTNAG, TTAA</option>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
65 </param>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
66 </when>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
67 <when value="specific">
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
68 <param name="manual_enzyme" argument="-e" type="text" label="Restriction enzyme sequence(s)"
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
69 help="Restriction enzyme sequence. If multiple were used, include all as a comma separated list without spaces (ex. 'GATC,AAGCTT').">
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
70 <validator type="expression" message="Only alphabetical letters and the comma can be used in to define restriction enzym sequences.">value.replace(',', '').isalpha()</validator>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
71 </param>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
72 </when>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
73 </conditional>
3
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
74 <param name="iter" argument="-i" type="integer" min="0" max="20" label="Iterations" optional="true"
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
75 help="SALSA will scaffold through sequential iterations. The default number of iterations is 3. Increasing the number of iterations will
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
76 potentially increase the number of joins, however it could also introduce additional misjoins"/>
0
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
77 </inputs>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
78 <outputs>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
79 <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
80 <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
81 </outputs>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
82 <tests>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
83 <test>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
84 <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
85 <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
86 <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
87 <param name="gfa_file" value="test.gfa1"/>
2
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
88 <conditional name="enzyme_conditional">
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
89 <param name="enzyme_options" value="specific"/>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
90 <param name="manual_enzyme" value="GATC,GANTC"/>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
91 </conditional>
0
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
92 <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
93 <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
94 <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
95 <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
96 <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
97 </test>
2
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
98 <!--Test manual enzyme-->
0
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
99 <test>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
100 <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
101 <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
102 <param name="gfa_file" value="test.gfa1"/>
2
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
103 <conditional name="enzyme_conditional">
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
104 <param name="enzyme_options" value="specific"/>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
105 <param name="manual_enzyme" value="GATC,GANTC"/>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
106 </conditional>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
107 <param name="cutoff" value="1000"/>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
108 <param name="iter" value="3"/>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
109 <output name="scaffolds_fasta" file="out.fasta"/>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
110 <output name="scaffolds_agp" file="out.agp"/>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
111 </test>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
112 <!--Test predefined enzyme-->
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
113 <test>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
114 <param name="fasta_in" value="test.fasta"/>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
115 <param name="bed_file" value="test.bed"/>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
116 <param name="gfa_file" value="test.gfa1"/>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
117 <conditional name="enzyme_conditional">
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
118 <param name="enzyme_options" value="preconfigured"/>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
119 <param name="preconfigured_enzymes" value="arima1"/>
ab5b7f6b7198 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 59c5c8edd0c2080d7685e312fee19de1da75097e"
iuc
parents: 1
diff changeset
120 </conditional>
0
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
121 <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
122 <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
123 <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
124 <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
125 </test>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
126 </tests>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
127 <help><![CDATA[
3
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
128 .. class:: infomark
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
129
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
130 **Purpose**
0
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
131
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
132 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
133 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
134
3
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
135 ----
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
136
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
137 .. class:: infomark
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
138
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
139 **Mapping reads**
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
140
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
141 To start the scaffolding, first step is to map reads to the assembly. We recommend using `BWA <https://usegalaxy.eu/root?tool_id=toolshed.g2.bx.psu.edu/repos/devteam/bwa/bwa_mem/0.7.17.2>`_
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
142 or `BOWTIE2 <https://usegalaxy.eu/root?tool_id=toolshed.g2.bx.psu.edu/repos/devteam/bowtie2/bowtie2/2.4.2+galaxy0>`_ aligner to map reads. The read mapping generates a bam file. SALSA requires
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
143 BED file as the input. This can be done using the bamToBed command from the `Bedtools package <http://bedtools.readthedocs.io/en/latest/>`_. Also, SALSA requires BED files to be sorted by the
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
144 read name, rather than the alignment coordinates. Once you have bam file, you can run following commands to get the bam file needed as an input to SALSA.
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
145
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
146 Since Hi-C reads and alignments contain experimental artifacts, the alignments needs some postprocessing. To align and postprocess
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
147 the alignments, you can use the pipeline released by Arima Genomics which can be found in the `GitHub repository <https://github.com/ArimaGenomics>`_.
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
148
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
149 Additional information on how to generate/filter the bam `here <https://github.com/marbl/SALSA#mapping-reads>`_.
f77f7a7f3b83 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 4904594e8df7cbd6eeee4be24023c6bd15e162de"
iuc
parents: 2
diff changeset
150
0
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
151 ]]></help>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
152 <citations>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
153 <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
154 <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
155 </citations>
575b4d5bd444 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/salsa2 commit 67cd735c6709a56ad1c4d65cd84e38fccd59603b"
iuc
parents:
diff changeset
156 </tool>