annotate hifiasm.xml @ 1:6505bd37670d draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
author bgruening
date Wed, 03 Mar 2021 16:16:42 +0000
parents bf0a4667e3ce
children f3c89da3af16
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
1 <tool id="hifiasm" name="Hifiasm" version="@VERSION@+galaxy0">
0
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
2 <description>de novo assembler</description>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
3 <macros>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
4 <token name="@VERSION@">0.14</token>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
5 <token name="@FORMATS@">fasta,fasta.gz,fastq,fastq.gz</token>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
6 <xml name="reads">
1
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
7 <param name="reads" type="data" format="@FORMATS@" multiple="true" label="Input reads" />
0
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
8 </xml>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
9 </macros>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
10 <requirements>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
11 <requirement type="package" version="@VERSION@">hifiasm</requirement>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
12 <requirement type="package" version="0.1">yak</requirement>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
13 </requirements>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
14 <version_command>hifiasm --version</version_command>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
15 <command detect_errors="exit_code">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
16 <![CDATA[
1
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
17 #set $input_files = list()
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
18 #set $hap1_inputs = list()
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
19 #set $hap2_inputs = list()
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
20 #for idx, read in enumerate($mode.reads):
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
21 #set $inputfile = 'input_%d.%s' % ($idx, $read.dataset.extension)
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
22 ln -s '$read' $inputfile &&
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
23 $input_files.append($inputfile)
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
24 #end for
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
25 #set $input_filenames = ' '.join($input_files)
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
26 #if str($mode.mode_selector) == 'trio':
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
27 #for idx, read in enumerate($mode.hap1_reads):
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
28 #set $inputfile = 'hap1_input_%d.%s' % ($idx, $read.dataset.extension)
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
29 ln -s '$read' $inputfile &&
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
30 $hap1_inputs.append($inputfile)
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
31 #end for
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
32 #for idx, read in enumerate($mode.hap2_reads):
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
33 #set $inputfile = 'hap2_input_%d.%s' % ($idx, $read.dataset.extension)
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
34 ln -s '$read' $inputfile &&
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
35 $hap2_inputs.append($inputfile)
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
36 #end for
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
37 #set $hap1_filenames = ' '.join($hap1_inputs)
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
38 #set $hap2_filenames = ' '.join($hap2_inputs)
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
39 yak count -k31 -b37 -t\${GALAXY_SLOTS:-1} -o hap1.yak $hap1_filenames &&
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
40 yak count -k31 -b37 -t\${GALAXY_SLOTS:-1} -o hap2.yak $hap2_filenames &&
0
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
41 #end if
1
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
42 hifiasm -i $input_filenames -t \${GALAXY_SLOTS:-1} -o output -f $filter_bits
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
43 #if str($mode.mode_selector) == 'trio':
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
44 -1 hap1.yak -2 hap2.yak
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
45 #end if
0
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
46 #if str($advanced_options.advanced_selector) == 'set':
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
47 -z $advanced_options.adapter_length
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
48 -k $advanced_options.kmer_length
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
49 -w $advanced_options.window_size
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
50 -D $advanced_options.drop_kmers
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
51 -N $advanced_options.max_overlaps
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
52 -r $advanced_options.correction_rounds
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
53 #end if
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
54 #if str($assembly_options.assembly_selector) == 'set':
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
55 -a $assembly_options.cleaning_rounds
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
56 -m $assembly_options.pop_contigs
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
57 -p $assembly_options.pop_unitigs
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
58 -n $assembly_options.remove_tips
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
59 -x $assembly_options.max_overlap
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
60 -y $assembly_options.min_overlap
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
61 $assembly_options.disable_post_join
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
62 #end if
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
63 #if str($mode.mode_selector) == 'trio':
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
64 -1 hap1.yak
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
65 -2 hap2.yak
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
66 -c $mode.max_kmers
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
67 -d $mode.min_kmers
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
68 #end if
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
69 #if str($purge_options.purge_selector) == 'set':
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
70 -l $purge_options.purge_level
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
71 -s $purge_options.similarity_threshold
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
72 -O $purge_options.minimum_overlap
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
73 #if $purge_options.purge_cov:
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
74 --purge-cov $purge_options.purge_cov
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
75 #end if
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
76 $purge_options.high_het
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
77 #end if
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
78 ]]>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
79 </command>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
80 <inputs>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
81 <conditional name="mode">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
82 <param name="mode_selector" type="select" label="Assembly mode">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
83 <option value="standard">Standard</option>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
84 <option value="trio">Trio mode</option>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
85 </param>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
86 <when value="standard">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
87 <expand macro="reads" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
88 </when>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
89 <when value="trio">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
90 <expand macro="reads" />
1
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
91 <param name="hap1_reads" type="data" format="fastq,fastq.gz" multiple="true" label="Haplotype 1 reads" />
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
92 <param name="hap2_reads" type="data" format="fastq,fastq.gz" multiple="true" label="Haplotype 2 reads" />
0
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
93 <param name="max_kmers" argument="-c" type="integer" value="2" label="Lower bound of the binned k-mer's frequency" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
94 <param name="min_kmers" argument="-d" type="integer" value="5" label="Upper bound of the binned k-mer's frequency" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
95 </when>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
96 </conditional>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
97 <param name="filter_bits" argument="-f" type="integer" min="0" value="37" label="Bits for bloom filter" help="A value of 0 disables the bloom filter" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
98 <conditional name="advanced_options">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
99 <param name="advanced_selector" type="select" label="Advanced options">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
100 <option value="blank">Leave default</option>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
101 <option value="set">Specify</option>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
102 </param>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
103 <when value="blank" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
104 <when value="set">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
105 <param name="adapter_length" argument="-z" type="integer" min="0" value="0" label="Length of adapters to be removed" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
106 <param name="kmer_length" argument="-k" type="integer" min="0" max="64" value="51" label="K-mer length" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
107 <param name="window_size" argument="-w" type="integer" min="0" value="51" label="Minimizer window size" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
108 <param name="drop_kmers" argument="-D" type="float" value="5.0" label="Drop k-mers" help="K-mers that occur more than this value multiplied by the coverage will be discarded" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
109 <param name="max_overlaps" argument="-N" type="integer" value="100" label="Maximum overlaps to consider" help="The software selects the larger of this value and the k-mer count multiplied by coverage" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
110 <param name="correction_rounds" argument="-r" type="integer" value="3" label="Correction rounds" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
111 </when>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
112 </conditional>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
113 <conditional name="assembly_options">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
114 <param name="assembly_selector" type="select" label="Assembly options">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
115 <option value="blank">Leave default</option>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
116 <option value="set">Specify</option>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
117 </param>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
118 <when value="blank" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
119 <when value="set">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
120 <param name="cleaning_rounds" argument="-a" type="integer" value="4" label="Cleaning rounds" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
121 <param name="pop_contigs" argument="-m" type="integer" value="10000000" label="Minimum contig bubble size" help="Pop contig graph bubbles smaller than this value" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
122 <param name="pop_unitigs" argument="-p" type="integer" value="100000" label="Minimum unitig bubble size" help="Pop unitig graph bubbles smaller than this value" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
123 <param name="remove_tips" argument="-n" type="integer" value="3" label="Tip unitigs" help="Keep only tip unitigs with a number of reads greater than or equal to this value" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
124 <param name="max_overlap" argument="-x" type="float" min="0" max="1" value="0.8" label="Maximum overlap drop ratio" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
125 <param name="min_overlap" argument="-y" type="float" min="0" max="1" value="0.2" label="Minimum overlap drop ratio" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
126 <param name="disable_post_join" argument="-u" type="boolean" truevalue="-u" falsevalue="" label="Skip post join contigs step" help="May improve N50" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
127 </when>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
128 </conditional>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
129 <conditional name="purge_options">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
130 <param name="purge_selector" type="select" label="Options for purging duplicates">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
131 <option value="blank">Leave default</option>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
132 <option value="set">Specify</option>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
133 </param>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
134 <when value="blank" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
135 <when value="set">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
136 <param name="purge_level" argument="-l" type="select" label="Purge level">
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
137 <option value="0" selected="true">None</option>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
138 <option value="1">Light</option>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
139 <option value="2">Aggressive</option>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
140 </param>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
141 <param name="similarity_threshold" argument="-s" type="float" min="0" max="1" value="0.75" label="Similarity threshold for duplicate haplotigs" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
142 <param name="minimum_overlap" argument="-O" type="integer" value="1" label="Minimum overlapped reads for duplicate haplotigs" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
143 <param argument="--purge-cov" type="integer" optional="true" label="Coverage upper bound" help="If not set, this will be determined automatically" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
144 <param argument="--high-het" type="boolean" truevalue="--high-het" falsevalue="" label="Experimental high-heterozygosity mode" help="NB: May be unstable" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
145 </when>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
146 </conditional>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
147 </inputs>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
148 <outputs>
1
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
149 <data name="raw_unitigs" format="gfa1" from_work_dir="output.r_utg.gfa" label="${tool.name} on ${on_string}, haplotype-resolved raw unitig graph">
0
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
150 <filter>mode['mode_selector'] == 'standard'</filter>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
151 </data>
1
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
152 <data name="raw_unitigs" format="gfa1" from_work_dir="output.dip.r_utg.gfa" label="${tool.name} on ${on_string}, haplotype-resolved raw unitig graph">
0
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
153 <filter>mode['mode_selector'] == 'trio'</filter>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
154 </data>
1
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
155 <data name="processed_unitigs" format="gfa1" from_work_dir="output.p_utg.gfa" label="${tool.name} on ${on_string}, processed unitig graph">
0
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
156 <filter>mode['mode_selector'] == 'standard'</filter>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
157 </data>
1
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
158 <data name="primary_contig_graph" format="gfa1" from_work_dir="output.p_ctg.gfa" label="${tool.name} on ${on_string}, primary assembly contig graph">
0
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
159 <filter>mode['mode_selector'] == 'standard'</filter>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
160 </data>
1
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
161 <data name="alternate_contig_graph" format="gfa1" from_work_dir="output.a_ctg.gfa" label="${tool.name} on ${on_string}, alternate assembly contig graph">
0
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
162 <filter>mode['mode_selector'] == 'standard'</filter>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
163 </data>
1
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
164 <data name="hap1_contigs" format="gfa1" from_work_dir="output.hap1.p_ctg.gfa" label="${tool.name} ${mode.hap1_reads.name}, contig graph">
0
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
165 <filter>mode['mode_selector'] == 'trio'</filter>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
166 </data>
1
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
167 <data name="hap2_contigs" format="gfa1" from_work_dir="output.hap2.p_ctg.gfa" label="${tool.name} ${mode.hap2_reads.name}, contig graph">
0
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
168 <filter>mode['mode_selector'] == 'trio'</filter>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
169 </data>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
170 </outputs>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
171 <tests>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
172 <test>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
173 <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
174 <param name="filter_bits" value="0" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
175 <param name="mode_selector" value="standard" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
176 <output name="raw_unitigs" file="hifiasm-out1-raw.gfa" ftype="gfa1" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
177 <output name="processed_unitigs" file="hifiasm-out1-processed.gfa" ftype="gfa1" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
178 <output name="primary_contig_graph" file="hifiasm-out1-primary.gfa" ftype="gfa1" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
179 <output name="alternate_contig_graph" file="hifiasm-out1-alternate.gfa" ftype="gfa1" />
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
180 </test>
1
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
181 <test>
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
182 <param name="reads" value="hifiasm-in2-0.fa.gz,hifiasm-in2-1.fa.gz,hifiasm-in2-2.fa.gz,hifiasm-in2-3.fa.gz,hifiasm-in2-4.fa.gz" ftype="fasta.gz" />
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
183 <param name="filter_bits" value="0" />
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
184 <param name="mode_selector" value="standard" />
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
185 <output name="raw_unitigs" file="hifiasm-out2-raw.gfa" ftype="gfa1" />
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
186 <output name="processed_unitigs" file="hifiasm-out2-processed.gfa" ftype="gfa1" />
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
187 <output name="primary_contig_graph" file="hifiasm-out2-primary.gfa" ftype="gfa1" />
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
188 <output name="alternate_contig_graph" file="hifiasm-out2-alternate.gfa" ftype="gfa1" />
6505bd37670d "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 1122ef1b9a407a781d1416d07b272016d16a6a85"
bgruening
parents: 0
diff changeset
189 </test>
0
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
190 </tests>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
191 <help><![CDATA[
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
192 ***********************************
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
193 HiFiASM - a fast de novo assembler
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
194 ***********************************
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
195
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
196 Hifiasm is a fast haplotype-resolved de novo assembler for PacBio Hifi reads. It can assemble a human genome in several hours and works with the California redwood genome, one of the most complex genomes sequenced so far. Hifiasm can produce primary/alternate assemblies of quality competitive with the best assemblers. It also introduces a new graph binning algorithm and achieves the best haplotype-resolved assembly given trio data.
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
197
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
198 #### Assembly mode
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
199 - *Standard*
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
200 - *Trio* When parental short reads are available, hifiasm can generate a pair of haplotype-resolved assemblies with trio binning.
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
201
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
202 #### Trio Options
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
203 - *Haplotype 1 reads* : list of hap1/paternal read names
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
204 - *Haplotype 2 reads* : list of hap2/maternal read names
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
205 - *Lower bound of the binned k-mer's frequency*
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
206 - *Upper bound of the binned k-mer's frequency*
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
207
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
208 *Bits for bloom filter* (-f) - A value of 0 disables the bloom filter for small genomes. For genomes much larger than human, applying -f 38 or even - f39 is preferred to save memory on k-mer counting.
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
209
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
210 #### Advanced options
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
211 - *Length of adapters to be removed* Old HiFi reads may contain short adapter sequences at the ends of reads. You can specify 20 to trim both ends of reads by 20bp.
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
212 - *K-mer length* (must be <64)
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
213 - *Minimizer window size*
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
214 - *Drop K-mers* K-mers that occur more than this value multiplied by the coverage will be discarded
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
215 - *Maximum overlaps to consider* consider up to max(-D*coverage,-N) overlaps for each oriented read
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
216 - *Correction rounds* round of correction
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
217
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
218 #### Assembly options
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
219 - *Cleaning rounds* round of assembly cleaning
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
220 - *Minimum contig bubble* size Pop contig graph bubbles smaller than this value
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
221 - *Minimum unitig bubble* size Pop unitig graph bubbles smaller than this value
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
222 - *Tip unitigs* Keep only tip unitigs with a number of reads greater than or equal to this value
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
223 - *Maximum overlap drop ratio*
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
224 - *Minimum overlap drop ratio*
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
225 - *Skip post join contigs step* disable post join contigs step which may improve N50
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
226
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
227 #### Options for purging duplicates
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
228 - *Purge level* 0: no purging; 1: light; 2: aggressive [0 for trio; 2 for unzip]
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
229 - *Similarity threshold for duplicate haplotigs*
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
230 - *Minimum overlapped reads for duplicate haplotigs*
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
231 - *Coverage upper bound* If not set, this will be determined automatically
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
232 - *Experimental high-heterozygosity mode* enable this mode for high heterozygosity sample NB: May be unstable
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
233
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
234
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
235 ### Outputs
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
236
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
237 Non Trio assembly
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
238 - Haplotype-resolved raw unitig graph in GFA format. This graph keeps all haplotype information, including somatic mutations and recurrent sequencing errors.
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
239 - Haplotype-resolved processed unitig graph without small bubbles : Small bubbles might be caused by somatic mutations or noise in data, which are not the real haplotype information.
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
240 - Primary assembly contig graph : This graph collapses different haplotypes.
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
241 - Alternate assembly contig graph : This graph consists of all assemblies that are discarded in primary contig graph.
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
242
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
243
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
244 Trio assembly
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
245 - Haplotype-resolved raw unitig graph in GFA format . This graph keeps all haplotype information.
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
246 - Phased paternal/haplotype1 contig graph. This graph keeps the phased paternal/haplotype1 assembly.
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
247 - Phased maternal/haplotype2 contig graph. This graph keeps the phased maternal/haplotype2 assembly.
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
248
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
249
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
250
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
251 ]]></help>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
252 <citations>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
253 <citation type="doi">10.1038/s41592-020-01056-5</citation>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
254 </citations>
bf0a4667e3ce "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit a118fad06e94683813e214af107fedd5fd80500a"
bgruening
parents:
diff changeset
255 </tool>