annotate yahs.xml @ 1:a3a92e30a727 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 1652ad2dc0aa303ba5e74d005aaa12cef4cf6ec7
author iuc
date Tue, 12 Jul 2022 06:39:08 +0000
parents d87433f2a54d
children fc925f53cae7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
1 <tool id="yahs" name="YAHS" version="@VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
2 <description>yet another HI-C scaffolding tool</description>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
3 <macros>
1
a3a92e30a727 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 1652ad2dc0aa303ba5e74d005aaa12cef4cf6ec7
iuc
parents: 0
diff changeset
4 <token name="@VERSION@">1.2a</token>
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
6 </macros>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
7 <requirements>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
8 <requirement type="package" version="@VERSION@">yahs</requirement>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
9 <requirement type="package" version="1.11">samtools</requirement>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
10 <requirement type="package" version="3.9">python</requirement>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
11 </requirements>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
13 #if $function.function_select == "yahs":
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
14 ln -s '$function.fasta' input.fasta &&
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
15 #if $function.bfile.ext == "bam":
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
16 ln -s '$function.bfile' input.bam &&
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
17 #else if $function.bfile.ext == "bed":
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
18 ln -s '$function.bfile' input.bed &&
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
19 #end if
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
20 #if $function.agp:
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
21 ln -s '$function.agp' input.agp &&
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
22 #end if
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
23 samtools faidx input.fasta &&
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
24 mkdir initial_break agp_out agp_break final_outs &&
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
25 yahs input.fasta
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
26 #if $function.bfile.ext == "bam":
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
27 input.bam
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
28 #else if $function.bfile.ext == "bed":
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
29 input.bed
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
30 #end if
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
31 #if $agp:
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
32 -a input.agp
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
33 #end if
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
34 #if $function.res:
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
35 -r $function.res
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
36 #end if
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
37 #if $function.enzyme_conditional.enzyme_options == 'preconfigured':
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
38 #if $function.enzyme_conditional.preconfigured_enzymes == 'dovetail'
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
39 -e 'GATC'
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
40 #else if $function.enzyme_conditional.preconfigured_enzymes == 'arima1'
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
41 -e 'GATC,GANTC'
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
42 #else
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
43 -e 'GATC,GANTC,CTNAG,TTAA'
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
44 #end if
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
45 #else if $function.enzyme_conditional.enzyme_options == 'specific':
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
46 -e '${function.enzyme_conditional.manual_enzyme}'
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
47 #end if
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
48 #if $function.length:
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
49 -l $function.length
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
50 #end if
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
51 #if $function.quality:
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
52 -q $function.quality
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
53 #end if
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
54 $function.no_contig_ec
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
55 $function.no_scaffold_ec
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
56 -o yahs_out &&
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
57 ls -lah &&
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
58 python '$__tool_directory__/move_files.py'
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
59 && ls -lah ./*
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
60 #else:
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
61 ln -s '$function.fasta' input.fasta &&
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
62 ln -s '$function.agp' input.agp &&
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
63 agp_to_fasta input.agp input.fasta
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
64 #if $function.length:
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
65 -l $function.length
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
66 #end if
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
67 -o output.fasta
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
68 #end if
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
69 ]]></command>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
70 <inputs>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
71 <conditional name="function">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
72 <param name="function_select" type="select" label="Which function would you like to run?">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
73 <option value="yahs">YAHS</option>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
74 <option value="agp_to_fasta">AGP to fasta</option>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
75 </param>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
76 <when value="yahs">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
77 <param name="fasta" type="data" format="fasta" label="Input contig sequences"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
78 <param name="bfile" type="data" format="bam,bed" label="Alignment file of Hi-C reads to contigs"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
79 <param name="agp" argument="-a" type="data" format="agp" optional="true" label="Input AGP file (for rescaffolding)"
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
80 help="You can specify a AGP format file to ask YaHS to do scaffolding with the scaffolds in the AGP file as the start point"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
81 <param name="res" argument="-r" type="text" label="Resolutions" optional="true"
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
82 help="Comma separated, ascending list of range of resolutions with no spaces. Ex. 50000,100000,200000,500000,1000000,2000000,5000000. By default and the upper limit is automatically adjusted with the genome size"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
83 <conditional name="enzyme_conditional">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
84 <param name="enzyme_options" type="select" label="Restriction enzyme used in Hi-C experiment" help="Hi-C experiments can use different restriction enzymes.
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
85 The enzyme frequency in contigs is used to normalize the Hi-C interaction frequency. Note that you need to specify the actual
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
86 sequence of the cutting site for a restriction enzyme and not the enzyme name. You can also specify DNASE as an enzyme if you
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
87 use an enzyme-free prep, e.g. Omin-C.">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
88 <option value="not_especified">Not especified</option>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
89 <option value="preconfigured">Preconfigured restriction enzymes</option>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
90 <option value="specific">Enter a specific sequence</option>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
91 </param>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
92 <when value="not_especified"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
93 <when value="preconfigured">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
94 <param name="preconfigured_enzymes" argument="-e" type="select" label="Preconfigured enzymes">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
95 <option value="dovetail">Dovetail Chicago, Dovetail Hi-C or Phase: GATC</option>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
96 <option value="arima1">Arima Hi-C 1.0: GATC, GANTC</option>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
97 <option value="arima2">Arima Hi-C 2.0: GATC, GANTC, CTNAG, TTAA</option>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
98 </param>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
99 </when>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
100 <when value="specific">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
101 <param name="manual_enzyme" argument="-e" type="text" label="Restriction enzyme sequence(s)"
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
102 help="Restriction enzyme sequence. If multiple were used, include all as a comma separated list without spaces (ex. 'GATC,AAGCTT').">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
103 <validator type="expression" message="Only alphabetical letters and the comma can be used in to define restriction enzym sequences.">value.replace(',', '').isalpha()</validator>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
104 </param>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
105 </when>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
106 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
107 <param name="length" argument="-l" type="integer" label="Minimum contig length included for scaffolding" min="1" optional="true"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
108 <param name="quality" argument="-q" type="integer" label="Minimum read mapping quality (for BAM input only)" min="1" optional="true"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
109 <param argument="--no-contig-ec" type="boolean" label="Skip assembly error correction step" truevalue="--no-contig-ec" falsevalue="" help="Automatically active if AGP output is set"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
110 <param argument="--no-scaffold-ec" type="boolean" label="Skip assembly/scaffolding error check each round" truevalue="--no-scaffold-ec" falsevalue="" help="Will also prevent any break.agp output files"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
111 </when>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
112 <when value="agp_to_fasta">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
113 <param name="agp" type="data" format="agp" label="Input AGP file"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
114 <param name="fasta" type="data" format="fasta" label="Contig fasta file"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
115 <param name="length" type='integer' label="Output fasta line length" value="60" min="1"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
116 </when>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
117 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
118 </inputs>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
119 <outputs>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
120 <!-- INITIAL ROUNDS -->
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
121 <collection name="initial_agp_break" type="list" label="${tool.name} on ${on_string}: AGP initial break files">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
122 <filter>function['function_select'] == "yahs"</filter>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
123 <discover_datasets pattern="__name_and_ext__" directory="initial_break" ext="agp"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
124 </collection>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
125 <collection name="agp_break" type="list" label="${tool.name} on ${on_string}: AGP break files">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
126 <filter> function['function_select'] == "yahs"</filter>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
127 <discover_datasets pattern="__name_and_ext__" directory="agp_break" ext="agp"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
128 </collection>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
129 <collection name="agp_out" type="list" label="${tool.name} on ${on_string}: AGP scaffolding results files">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
130 <filter>function['function_select'] == "yahs"</filter>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
131 <discover_datasets pattern="__name_and_ext__" directory="agp_out" ext="agp"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
132 </collection>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
133 <!-- FINAL FILES -->
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
134 <data format="agp" name="final_agp_out" label="${tool.name} on ${on_string}: Final scaffolds agp output" from_work_dir="final_outs/yahs_out_scaffolds_final.agp">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
135 <filter>function['function_select'] == "yahs"</filter>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
136 </data>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
137 <data format="fasta" name="final_fasta_out" label="${tool.name} on ${on_string}: Final scaffolds fasta output" from_work_dir="final_outs/yahs_out_scaffolds_final.fa">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
138 <filter>function['function_select'] == "yahs"</filter>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
139 </data>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
140 <data format="fasta" name="fasta_from_agp" label="${tool.name} on ${on_string}: agp to fasta" from_work_dir="output.fasta">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
141 <filter>function['function_select'] == "agp_to_fasta"</filter>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
142 </data>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
143 </outputs>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
144 <tests>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
145 <test expect_num_outputs="5">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
146 <conditional name="function">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
147 <param name="function_select" value="yahs"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
148 <param name="fasta" value="test.fasta"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
149 <param name="bfile" value="test.bed"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
150 <param name="agp" value="test.agp"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
151 <param name="res" value="50000,100000,150000,2000000,1000000"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
152 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
153 <output name="final_agp_out" file="test_01_scaffolds_final.agp" ftype="agp"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
154 <output name="final_fasta_out" file="test_01_scaffolds_final.fa" ftype="fasta"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
155 <!-- COMMAND: yahs test.fasta test.bed -r 50000,100000,150000,2000000,1000000 -a test.agp -o test_1 -->
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
156 </test>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
157 <test expect_num_outputs="5">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
158 <conditional name="function">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
159 <param name="function_select" value="yahs"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
160 <param name="fasta" value="test.fasta"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
161 <param name="bfile" value="test.bed"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
162 <param name="no_contig_ec" value="--no-contig-ec"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
163 <param name="no_scaffold_ec" value="--no-scaffold-ec"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
164 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
165 <output name="final_agp_out" file="test_02_scaffolds_final.agp" ftype="agp"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
166 <output name="final_fasta_out" file="test_02_scaffolds_final.fa" ftype="fasta"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
167 <output_collection name="agp_break">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
168 <element name="yahs_out_no_break" file="test_02_no_break.agp" ftype="agp"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
169 </output_collection>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
170 <!-- COMMAND: yahs test.fasta test.bed -\-no-contig-ec -\-no-scaffold-ec -o test_2 -->
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
171 </test>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
172 <test expect_num_outputs="5">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
173 <conditional name="function">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
174 <param name="function_select" value="yahs"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
175 <param name="fasta" value="test.fasta"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
176 <param name="bfile" value="test.bam"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
177 <param name="qual" value="10"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
178 <param name="length" value="20"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
179 <conditional name="enzyme_conditional">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
180 <param name="enzyme_options" value="specific"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
181 <param name="manual_enzyme" value="GATC,GANT"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
182 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
183 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
184 <output name="final_agp_out" file="test_03_scaffolds_final.agp" ftype="agp"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
185 <output name="final_fasta_out" file="test_03_scaffolds_final.fa" ftype="fasta"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
186 <output_collection name="initial_agp_break">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
187 <element name="yahs_out_inital_break_01" file="test_03_initial_break.agp" ftype="agp"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
188 </output_collection>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
189 <!-- COMMAND: yahs test.fasta test.bed -q 10 -l 20 -e 'GATC,GANT' -o test_3 -->
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
190 </test>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
191 <test expect_num_outputs="5">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
192 <conditional name="function">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
193 <param name="function_select" value="yahs"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
194 <param name="fasta" value="test.fasta"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
195 <param name="bfile" value="test.bam"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
196 <param name="qual" value="10"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
197 <param name="length" value="20"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
198 <conditional name="enzyme_conditional">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
199 <param name="enzyme_options" value="preconfigured"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
200 <param name="preconfigured_enzymes" value="arima1"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
201 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
202 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
203 <output name="final_agp_out" file="test_03_scaffolds_final.agp" ftype="agp"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
204 <output name="final_fasta_out" file="test_03_scaffolds_final.fa" ftype="fasta"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
205 <output_collection name="initial_agp_break">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
206 <element name="yahs_out_inital_break_01" file="test_04_initial_break.agp" ftype="agp"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
207 </output_collection>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
208 <!-- COMMAND: yahs test.fasta test.bed -q 10 -l 20 -e 'GATC,GANT' -o test_3 -->
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
209 </test>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
210 <test expect_num_outputs="1">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
211 <conditional name="function">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
212 <param name="function_select" value="agp_to_fasta"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
213 <param name="fasta" value="test.fasta"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
214 <param name="agp" value="test.agp"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
215 <param name="length" value="20"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
216 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
217 <output name="fasta_from_agp" file="test_05.fasta" ftype="fasta"/>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
218 <!-- COMMAND: agp_to_fasta teast.fasta test.agp -l 20 -o test_4 -->
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
219 </test>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
220 </tests>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
221 <help><![CDATA[
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
222 YaHS is scaffolding tool using Hi-C data. It relies on a new algothrim for contig joining detection which considers the topological distribution of Hi-C signals aiming to distingush real interaction signals from mapping nosies. YaHS has been tested in a wide range of genome assemblies. Compared to other Hi-C scaffolding tools, it usually generates more contiguous scaffolds - especially with a higher N90 and L90 statistics. It is also super fast - takes less than 5 minutes to reconstruct the human genome from an assembly of 5,483 contigs with ~45X Hi-C data.
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
223 ]]></help>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
224 <citations>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
225 <citation type="doi">10.5281/zenodo.5848772</citation>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
226 </citations>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
227 </tool>