annotate yahs.xml @ 3:39495e107274 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
author iuc
date Wed, 28 Sep 2022 09:41:02 +0000
parents fc925f53cae7
children 425e63adcc5d
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>
3
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
4 <token name="@VERSION@">1.2a.2</token>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
0
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 &&
3
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
25 yahs --no-mem-check input.fasta
0
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
2
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
56 -o yahs_out
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
57 #if $log_out
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
58 2> output.log
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
59 #end if
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
60 && ls -lah &&
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
61 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
62 && ls -lah ./*
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
63 #else:
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
64 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
65 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
66 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
67 #if $function.length:
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
68 -l $function.length
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
69 #end if
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
70 -o output.fasta
2
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
71 #if $log_out:
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
72 2> output.log
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
73 #end if
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
74 #end if
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
75 ]]></command>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
76 <inputs>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
77 <conditional name="function">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
78 <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
79 <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
80 <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
81 </param>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
82 <when value="yahs">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
83 <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
84 <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
85 <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
86 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
87 <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
88 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
89 <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
90 <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
91 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
92 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
93 use an enzyme-free prep, e.g. Omin-C.">
2
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
94 <option value="not_specified">Not specified</option>
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
95 <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
96 <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
97 </param>
2
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
98 <when value="not_specified"/>
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
99 <when value="preconfigured">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
100 <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
101 <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
102 <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
103 <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
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 <when value="specific">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
107 <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
108 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
109 <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
110 </param>
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 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
113 <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
114 <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
115 <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
116 <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
117 </when>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
118 <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
119 <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
120 <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
121 <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
122 </when>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
123 </conditional>
2
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
124 <param name="log_out" type="boolean" label="Output log file?" truevalue="yes" falsevalue="no"/>
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
125 </inputs>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
126 <outputs>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
127 <!-- INITIAL ROUNDS -->
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
128 <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
129 <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
130 <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
131 </collection>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
132 <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
133 <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
134 <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
135 </collection>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
136 <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
137 <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
138 <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
139 </collection>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
140 <!-- FINAL FILES -->
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
141 <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
142 <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
143 </data>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
144 <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
145 <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
146 </data>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
147 <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
148 <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
149 </data>
2
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
150 <data format="txt" name="log_file" from_work_dir="output.log" label="${tool.name} ${on_string}, log file">
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
151 <filter>log_out</filter>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
152 </data>
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
153 </outputs>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
154 <tests>
3
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
155 <!-- TEST 1 -->
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
156 <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
157 <conditional name="function">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
158 <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
159 <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
160 <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
161 <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
162 <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
163 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
164 <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
165 <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
166 <!-- 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
167 </test>
3
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
168 <!-- TEST 2 -->
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
169 <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
170 <conditional name="function">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
171 <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
172 <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
173 <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
174 <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
175 <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
176 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
177 <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
178 <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
179 <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
180 <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
181 </output_collection>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
182 <!-- 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
183 </test>
3
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
184 <!-- TEST 3 -->
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
185 <test expect_num_outputs="6">
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
186 <conditional name="function">
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
187 <param name="function_select" value="yahs"/>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
188 <param name="fasta" value="test2.fasta"/>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
189 <param name="bfile" value="test2.bam"/>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
190 <param name="res" value="1000,2000,5000,10000,20000,50000,100000,200000,500000"/>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
191 <conditional name="enzyme_conditional">
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
192 <param name="enzyme_options" value="not_specified"/>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
193 </conditional>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
194 </conditional>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
195 <param name="log_out" value="yes"/>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
196 <output name="log_file" ftype="txt">
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
197 <assert_contents>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
198 <has_text text="[I::dump_links_from_bam_file] dumped 6399 read pairs from 17675 records: 6297 intra links + 102 inter links" />
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
199 </assert_contents>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
200 </output>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
201 <!-- COMMAND: yahs test.fasta test.bam -r 1000,2000,5000,10000,20000,50000,100000,200000,500000 -o test_3 -->
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
202 </test>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
203 <!-- TEST 4 -->
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
204 <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
205 <conditional name="function">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
206 <param name="function_select" value="yahs"/>
3
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
207 <param name="fasta" value="test2.fasta"/>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
208 <param name="bfile" value="test2.bed"/>
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
209 <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
210 <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
211 <conditional name="enzyme_conditional">
3
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
212 <param name="enzyme_options" value="not_specified"/>
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
213 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
214 </conditional>
3
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
215 <output name="final_agp_out" file="test_04_scaffolds_final.agp" ftype="agp"/>
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
216 <output name="final_fasta_out" file="test_04_scaffolds_final.fa" ftype="fasta"/>
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
217 <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
218 <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
219 </output_collection>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
220 </test>
3
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
221 <!-- TEST 5 -->
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
222 <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
223 <conditional name="function">
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
224 <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
225 <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
226 <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
227 <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
228 </conditional>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
229 <output name="fasta_from_agp" file="test_05.fasta" ftype="fasta"/>
2
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
230 <!-- COMMAND: agp_to_fasta test.fasta test.agp -l 20 -o test_4 -->
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
231 </test>
3
39495e107274 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 968382ccb84765d3e8a6e67c43f095a8cc5ab8f5
iuc
parents: 2
diff changeset
232 <!-- TEST 6 -->
2
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
233 <test expect_num_outputs="6">
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
234 <conditional name="function">
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
235 <param name="function_select" value="yahs"/>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
236 <param name="fasta" value="test.fasta"/>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
237 <param name="bfile" value="test.bed"/>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
238 <param name="agp" value="test.agp"/>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
239 <param name="res" value="50000,100000,150000,2000000,1000000"/>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
240 </conditional>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
241 <param name="log_out" value="yes"/>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
242 <output name="final_agp_out" file="test_01_scaffolds_final.agp" ftype="agp"/>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
243 <output name="final_fasta_out" file="test_01_scaffolds_final.fa" ftype="fasta"/>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
244 <output name="log_file" ftype="txt">
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
245 <assert_contents>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
246 <has_text text="[I::main] CMD: yahs"/>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
247 </assert_contents>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
248 </output>
fc925f53cae7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 73f497e595363dea7f041a4374c3a9518e7b9862
iuc
parents: 1
diff changeset
249 <!-- COMMAND: yahs test.fasta test.bed -r 50000,100000,150000,2000000,1000000 -a test.agp -o test_1 -->
0
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
250 </test>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
251 </tests>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
252 <help><![CDATA[
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
253 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
254 ]]></help>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
255 <citations>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
256 <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
257 </citations>
d87433f2a54d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/yahs commit 92823b21835509dde34557b6922e1b9a39311069
iuc
parents:
diff changeset
258 </tool>