annotate instagraal.xml @ 2:d1be552c6034 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
author bgruening
date Sun, 27 Aug 2023 09:28:26 +0000
parents 8d5b13b571fd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
1 <tool id="instagraal" name="instaGRAAL" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.01">
0
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
2 <description>Large genome reassembly based on Hi-C data</description>
2
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
3 <xrefs>
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
4 <xref type="bio.tools">instagraal</xref>
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
5 </xrefs>
0
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
6 <macros>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
7 <token name="@TOOL_VERSION@">0.1.6</token>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
8 <token name="@VERSION_SUFFIX@">0</token>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
9 </macros>
2
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
10 <requirements>
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
11 <!-- use a versioned copy of the upstream container at koszullab/instagraal -->
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
12 <container type="docker">quay.io/galaxy/instagraal:0.1.6</container>
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
13 <resource type="cuda_version_min">10.0</resource>
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
14 <resource type="cuda_compute_capability">3.0</resource>
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
15 <resource type="cuda_device_count_min">1</resource>
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
16 </requirements>
0
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
17 <stdio>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
18 <regex match="instagraal_class" level="warning" description="instaGRAAL is raining an expected error at the end."/>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
19 <regex match="Exception:"/>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
20 <exit_code range="2:"/>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
21 <exit_code range=":-1"/>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
22 </stdio>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
23 <version_command>instagraal --version</version_command>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
24 <command>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
25 <![CDATA[
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
26
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
27 #set gap_string = 'N' * int($number_of_n)
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
28
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
29 mkdir -p hic_folder &&
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
30 mkdir -p ./outputs/ &&
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
31 ln -s '$abs_fragments_contacts_weighted' hic_folder/abs_fragments_contacts_weighted.txt &&
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
32 ln -s '$fragments_list' hic_folder/fragments_list.txt &&
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
33 ln -s '$info_contigs' hic_folder/info_contigs.txt &&
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
34
1
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
35 #if $ref_source.source == "history"
0
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
36 #set $ref_genome = 'reference.fasta'
1
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
37 ln -s '${ref_source.ref_fasta}' $ref_genome &&
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
38 #elif $ref_source.source == "builtin"
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
39 #set $ref_genome = '${ref_source.ref_fasta_builtin.fields.path}'
0
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
40 #end if
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
41
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
42 instagraal
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
43 ./hic_folder
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
44 $ref_genome
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
45 ./outputs/
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
46
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
47 --level $level
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
48 --cycles $cycles
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
49 --coverage-std $coverage_std
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
50 --neighborhood $neighborhood
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
51
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
52 $circular
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
53 $bomb
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
54 $pyramid_only
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
55 $simple
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
56 &&
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
57
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
58 mv ./outputs/*/test_*/genome.fasta ./outputs/genome.fasta &&
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
59 mv ./outputs/*/test_*/info_frags.txt ./outputs/info_frags.txt
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
60
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
61 &&
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
62 instagraal-polish
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
63 -m polishing
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
64 -i ./outputs/info_frags.txt
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
65 -f $ref_genome
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
66 -o ./outputs/curated.fasta
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
67 -j $gap_string
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
68
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
69 ]]>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
70 </command>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
71 <inputs>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
72
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
73 <param name="abs_fragments_contacts_weighted" type="data" format="tabular" label="Abs fragments contacts weighted"/>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
74 <param name="fragments_list" type="data" format="tabular" label="Fragments list"/>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
75 <param name="info_contigs" type="data" format="tabular" label="info_contigs"/>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
76
1
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
77 <conditional name="ref_source">
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
78 <param type="select" name="source" label="Reference genome source">
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
79 <option value="history" selected="true">History</option>
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
80 <option value="builtin">Built-in</option>
0
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
81 </param>
1
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
82 <when value="history">
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
83 <param type="data" format="fasta" name="ref_fasta" label="Reference genome" />
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
84 </when>
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
85 <when value="builtin">
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
86 <param type="select" name="ref_fasta_builtin" label="Reference genome">
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
87 <options from_data_table="all_fasta" />
0
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
88 </param>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
89 </when>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
90 </conditional>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
91
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
92 <param argument="--level" type="integer" value="4" min="3" max="6" label="Level (resolution) of the contact map"
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
93 help="Increasing level by one means a threefold smaller resolution but also a threefold faster computation time."/>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
94
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
95 <param argument="--cycles" type="integer" value="30" min="20" max="100" label="Number of iterations to perform for each bin (row/column of the contact map)"
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
96 help="A high number of cycles has diminishing returns but there is a necessary minimum for assembly convergence."/>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
97
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
98 <param argument="--coverage-std" type="integer" value="1" min="0" max="1" label="Number of standard deviations below the mean"
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
99 help="Coverage below which fragments should be filtered out prior to binning." />
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
100
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
101 <param argument="--neighborhood" type="integer" value="5" min="0" max="100" label="Number of neighbors to sample for potential mutations for each bin" />
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
102 <param argument="--circular" type="boolean" truevalue="--circular" falsevalue="" label="Indicates genome is circular" />
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
103 <param argument="--bomb" type="boolean" truevalue="--bomb" falsevalue="" label="Explode the genome prior to scaffolding" />
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
104 <param argument="--pyramid-only" type="boolean" truevalue="--pyramid-only" falsevalue="" label="Only build multi-resolution contact maps (pyramids) and don't do any scaffolding" />
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
105 <param argument="--simple" type="boolean" truevalue="--simple" falsevalue="" label="Only perform operations at the edge of the contigs" />
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
106 <param name="number_of_n" type="integer" value="10" min="1" label="Number of Ns that you want to include during the polishing step" />
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
107
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
108 </inputs>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
109 <outputs>
2
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
110 <data name="genome" format="fasta" from_work_dir="./outputs/genome.fasta" label="${tool.name} on ${on_string}: Genome sequence"/>
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
111 <data name="frags" format="tabular" from_work_dir="./outputs/info_frags.txt" label="${tool.name} on ${on_string}: Fragment information"/>
d1be552c6034 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit c5ff906bec1f07b06a60081f7db3fc8f0c6e94b8
bgruening
parents: 1
diff changeset
112 <data name="curated" format="fasta" from_work_dir="./outputs/curated.fasta" label="${tool.name} on ${on_string}: Curated sequences"/>
0
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
113 </outputs>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
114 <tests>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
115 <test>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
116 <param name="abs_fragments_contacts_weighted" value="abs_fragments_contacts_weighted.tabular" />
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
117 <param name="fragments_list" value="fragments_list.tabular" />
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
118 <param name="info_contigs" value="info_contigs.tabular" />
1
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
119 <conditional name="ref_source">
0
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
120 <param name="source" value="history"/>
1
8d5b13b571fd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 3005cec91ca52f9d28aa2fe0bd4190555abafc35
bgruening
parents: 0
diff changeset
121 <param name="ref_fasta" value="fake.fasta" />
0
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
122 </conditional>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
123 <assert_command>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
124 <has_text text="NNNNNNNNNN"/> <!-- 10 long, the default -->
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
125 <not_has_text text="NNNNNNNNNNN"/> <!-- too long -->
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
126 <has_text text="--cycles 30" />
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
127 <has_text text="instagraal" />
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
128 <has_text text="instagraal-polish" />
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
129 </assert_command>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
130 </test>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
131 </tests>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
132 <help>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
133 <![CDATA[
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
134
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
135 Large genome reassembly based on Hi-C data.
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
136
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
137 -----------
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
138 Input files
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
139 -----------
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
140
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
141 instaGRAAL needs three files:
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
142
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
143 * A file called *abs_fragments_contacts_weighted*, containing the (sparse) Hi-C map itself. The first line must be id_frag_a id_frag_b n_contact. All subsequent lines must represent the map's contacts in coordinate format (id_frag_a being the row indices, id_frag_b being the column indices, n_contact being the number of contacts between each locus or index pair, e.g. if 5 contacts are found between fragments #2 and #3, there should be a line reading 2 3 5 in the file). n_contact must be an integer. The list should be sorted according to id_frag_a first, then id_frag_b. Fragment ids start at 0.
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
144 * A file called *fragments_list* containing information related to each fragment of the genome. The first line must be id chrom start_pos end_pos size gc_content, and subsequent lines (representing the fragments themselves) should follow that template. The fields should be self-explanatory; notably, chrom can be any string representing the chromosome's name to which the fragment at a given line belongs, and fragment ids should start over at 1 when the chromosome name changes. Aside from the chrom field and the gc field which is currently unused in this version and can be filled with any value, all fields should be integers. Note that start_pos starts at 0.
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
145 * A file called *info_contigs* containing information related to each contig/scaffold/chromosome in the genome. The first line must be contig length_kb n_frags cumul_length. Field names should be again self-explanatory; naturally, the contig field must contain names that are consistent with those found in fragments_list.txt. Also, length_kb should be an integer (rounded up or down if need be), and n_frags and cumul_length are supposed to be consistent with each other in that the cumulated length (in fragments) of contig N should be equal to the sum of the fields found in n_frags for the N-1 preceding lines. Note that cumul_length starts at 0.
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
146
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
147 All fields (including those in the files' headers) must be separated by tabs and are therefor `tabular` files.
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
148
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
149 ------------
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
150 Output files
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
151 ------------
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
152
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
153 After the scaffolder is done running, whatever path you specified as output will contain a test_mcmc_X directory, where X is the level (resolution) at which scaffolding was performed. This directory, in turn, will contain the following:
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
154
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
155 * genome.fasta: the scaffolded genome. Scaffolds will be ordered by increasing size in fragments, which roughly (but not always) translates into increasing size in bp.
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
156 * info_frags.txt: a file that contains, for each newly formed scaffold, the original coordinates of every single bin in that scaffold, in the format chromosome, id, orientation, start, end. Each bin has a unique ID that provides a convenient way of tracking consecutive stretches. Orientations are relative to one another, and when "-1" is supplied, it is understood that the reverse complement should be taken.
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
157
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
158
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
159 ]]>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
160 </help>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
161 <citations>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
162 <citation type="doi">10.5281/zenodo.3753973</citation>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
163 </citations>
23d20e5e427d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/instagraal commit 37f6f76292970c74374aebcf5cfd45de8a1b7595
bgruening
parents:
diff changeset
164 </tool>