Mercurial > repos > bgruening > hifiasm
diff hifiasm.xml @ 19:284a1cb82b61 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 47637031b6d38391762d49ee5c8317810aa8d766
author | iuc |
---|---|
date | Thu, 11 Jul 2024 14:44:22 +0000 |
parents | df25d4fb79b7 |
children | 5161f204ba63 |
line wrap: on
line diff
--- a/hifiasm.xml Wed Jan 17 21:31:58 2024 +0000 +++ b/hifiasm.xml Thu Jul 11 14:44:22 2024 +0000 @@ -1,11 +1,11 @@ <tool id="hifiasm" name="Hifiasm" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> <description>haplotype-resolved de novo assembler for PacBio Hifi reads</description> <macros> - <token name="@TOOL_VERSION@">0.19.8</token> - <token name="@VERSION_SUFFIX@">1</token> + <token name="@TOOL_VERSION@">0.19.9</token> + <token name="@VERSION_SUFFIX@">0</token> <token name="@FORMATS@">fasta,fasta.gz,fastq,fastq.gz</token> <xml name="reads"> - <param name="reads" type="data" format="@FORMATS@" multiple="true" label="Input reads" /> + <param name="reads" type="data" format="@FORMATS@" multiple="true" label="Input reads"/> </xml> </macros> <requirements> @@ -184,48 +184,48 @@ <option value="trio">Trio mode</option> </param> <when value="standard"> - <expand macro="reads" /> + <expand macro="reads"/> </when> <when value="trio"> - <expand macro="reads" /> + <expand macro="reads"/> <conditional name="trioinput"> <param name="trio_input_selector" type="select" label="What parental information are you using?"> <option value="reads">Parental reads (FASTQ files, gzipped or otherwise)</option> <option value="lists">Lists of reads assigned by parent (text files)</option> </param> <when value="reads"> - <param name="hap1_reads" type="data" format="fastq,fastq.gz" multiple="true" label="Haplotype 1 reads" /> - <param name="hap2_reads" type="data" format="fastq,fastq.gz" multiple="true" label="Haplotype 2 reads" /> + <param name="hap1_reads" type="data" format="fastq,fastq.gz" multiple="true" label="Haplotype 1 reads"/> + <param name="hap2_reads" type="data" format="fastq,fastq.gz" multiple="true" label="Haplotype 2 reads"/> </when> <when value="lists"> - <param name="hap1_list" type="data" format="txt,tabular" label="Haplotype 1 read list" /> - <param name="hap2_list" type="data" format="txt,tabular" label="Haplotype 2 read list" /> + <param name="hap1_list" type="data" format="txt,tabular" label="Haplotype 1 read list"/> + <param name="hap2_list" type="data" format="txt,tabular" label="Haplotype 2 read list"/> </when> </conditional> - <param name="max_kmers" argument="-c" type="integer" value="2" label="Lower bound of the binned k-mer's frequency" /> - <param name="min_kmers" argument="-d" type="integer" value="5" label="Upper bound of the binned k-mer's frequency" /> - <param name="yak_kmer_length" type="integer" min="0" max="64" value="31" label="Yak counter k-mer length" /> - <param name="trio_dual" argument="--trio-dual" type="boolean" truevalue="--trio-dual" falsevalue="" label="Utilize homology information to correct trio-phasing errors" /> + <param name="max_kmers" argument="-c" type="integer" value="2" label="Lower bound of the binned k-mer's frequency"/> + <param name="min_kmers" argument="-d" type="integer" value="5" label="Upper bound of the binned k-mer's frequency"/> + <param name="yak_kmer_length" type="integer" min="0" max="64" value="31" label="Yak counter k-mer length"/> + <param argument="--trio-dual" type="boolean" truevalue="--trio-dual" falsevalue="" label="Utilize homology information to correct trio-phasing errors"/> </when> </conditional> - <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" /> + <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"/> <conditional name="assembly_options"> <param name="assembly_selector" type="select" label="Assembly options"> <option value="blank">Leave default</option> <option value="set">Specify</option> </param> - <when value="blank" /> + <when value="blank"/> <when value="set"> - <param name="cleaning_rounds" argument="-a" type="integer" value="4" label="Cleaning rounds" /> - <param name="adapter_length" argument="-z" type="integer" min="0" value="0" label="Length of adapters to be removed" /> - <param name="pop_contigs" argument="-m" type="integer" value="10000000" label="Minimum contig bubble size" help="Pop contig graph bubbles smaller than this value" /> - <param name="pop_unitigs" argument="-p" type="integer" value="100000" label="Minimum unitig bubble size" help="Pop unitig graph bubbles smaller than this value" /> - <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" /> + <param name="cleaning_rounds" argument="-a" type="integer" value="4" label="Cleaning rounds"/> + <param name="adapter_length" argument="-z" type="integer" min="0" value="0" label="Length of adapters to be removed"/> + <param name="pop_contigs" argument="-m" type="integer" value="10000000" label="Minimum contig bubble size" help="Pop contig graph bubbles smaller than this value"/> + <param name="pop_unitigs" argument="-p" type="integer" value="100000" label="Minimum unitig bubble size" help="Pop unitig graph bubbles smaller than this value"/> + <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"/> <param name="max_overlap" argument="-x" type="float" min="0" max="1" value="0.8" label="Maximum overlap drop ratio" help="This option is used with -r. Given a node N in the assembly graph, let max(N) be the length of the largest overlap of N. Hifiasm iteratively drops overlaps of N if their length/max(N) are below a threshold controlled by -x. Hifiasm applies -r rounds of short overlap removal with an increasing threshold between -x and -y"/> <param name="min_overlap" argument="-y" type="float" min="0" max="1" value="0.2" label="Minimum overlap drop ratio" help="This option is used with -r. Given a node N in the assembly graph, let max(N) be the length of the largest overlap of N. Hifiasm iteratively drops overlaps of N if their length/max(N) are over a threshold controlled by -y. Hifiasm applies -r rounds of short overlap removal with an increasing threshold between -x and -y"/> - <param name="disable_post_join" argument="-u" type="boolean" truevalue="-u" falsevalue="" label="Skip post join contigs step" help="May improve N50" /> - <param name="ignore_error_corrected" argument="-i" type="boolean" truevalue="-i" falsevalue="" value="False" label="Ignore error corrected reads and overlaps" help="Ignore error corrected reads and overlaps saved in prefix.*.bin files. Apart from assembly graphs, hifiasm also outputs three binary files that save alloverlap information during assembly step. With these files, hifiasm can avoid the time-consuming all-to-all overlap calculation step, and do the assembly directly and quickly. This might be helpful when users want to get an optimized assembly by multiple rounds of experiments with different parameters." /> - <param argument="--hom-cov" type="integer" optional="True" value="" label="Homozygous read coverage" /> + <param name="disable_post_join" argument="-u" type="boolean" truevalue="-u" falsevalue="" label="Skip post join contigs step" help="May improve N50"/> + <param name="ignore_error_corrected" argument="-i" type="boolean" truevalue="-i" falsevalue="" value="False" label="Ignore error corrected reads and overlaps" help="Ignore error corrected reads and overlaps saved in prefix.*.bin files. Apart from assembly graphs, hifiasm also outputs three binary files that save alloverlap information during assembly step. With these files, hifiasm can avoid the time-consuming all-to-all overlap calculation step, and do the assembly directly and quickly. This might be helpful when users want to get an optimized assembly by multiple rounds of experiments with different parameters."/> + <param argument="--hom-cov" type="integer" optional="True" value="" label="Homozygous read coverage"/> </when> </conditional> <conditional name="purge_options"> @@ -233,7 +233,7 @@ <option value="blank">Leave default</option> <option value="set">Specify</option> </param> - <when value="blank" /> + <when value="blank"/> <when value="set"> <param name="purge_level" argument="-l" type="select" label="Purge level"> <option value="0" selected="true">None (0)</option> @@ -241,10 +241,10 @@ <option value="2">Aggressive (2)</option> <option value="3">Aggressive - high heterozygosity rate (3)</option> </param> - <param name="similarity_threshold" argument="-s" type="float" min="0" max="1" value="0.75" label="Similarity threshold for duplicate haplotigs" /> - <param name="minimum_overlap" argument="-O" type="integer" value="1" label="Minimum overlapped reads for duplicate haplotigs" /> - <param argument="--purge-max" type="integer" optional="true" label="Coverage upper bound" help="If not set, this will be determined automatically" /> - <param argument="--n-hap" type="integer" min="0" value="" optional="true" label="Assumtion of haplotype number" help="A haplotype is defined as the combination of alleles for different polymorphisms that occur on the same chromosome." /> + <param name="similarity_threshold" argument="-s" type="float" min="0" max="1" value="0.75" label="Similarity threshold for duplicate haplotigs"/> + <param name="minimum_overlap" argument="-O" type="integer" value="1" label="Minimum overlapped reads for duplicate haplotigs"/> + <param argument="--purge-max" type="integer" optional="true" label="Coverage upper bound" help="If not set, this will be determined automatically"/> + <param argument="--n-hap" type="integer" min="0" value="" optional="true" label="Assumtion of haplotype number" help="A haplotype is defined as the combination of alleles for different polymorphisms that occur on the same chromosome."/> </when> </conditional> <conditional name="hic_partition"> @@ -252,14 +252,14 @@ <option value="blank">Leave default</option> <option value="set">Specify</option> </param> - <when value="blank" /> + <when value="blank"/> <when value="set"> - <param argument="--h1" type="data" format="fastq,fastq.gz" multiple="true" label="Hi-C R1 reads" /> - <param argument="--h2" type="data" format="fastq,fastq.gz" multiple="true" label="Hi-C R2 reads" /> - <param argument="--seed" type="integer" min="1" value="" optional="true" label="RNG seed" /> - <param argument="--n-weight" type="integer" min="1" value="" optional="true" label="Rounds of reweighting Hi-C links. Increasing this may improves phasing results but takes longer time" /> - <param argument="--n-perturb" type="integer" min="1" value="" optional="true" label="Rounds of perturbation. Increasing this may improves phasing results but takes longer time" /> - <param argument="--f-perturb" type="float" min="0" max="1" value="" optional="true" label="Fraction to flip for perturbation. Increasing this may improves phasing results but takes longer time" /> + <param argument="--h1" type="data" format="fastq,fastq.gz" multiple="true" label="Hi-C R1 reads"/> + <param argument="--h2" type="data" format="fastq,fastq.gz" multiple="true" label="Hi-C R2 reads"/> + <param argument="--seed" type="integer" min="1" value="" optional="true" label="RNG seed"/> + <param argument="--n-weight" type="integer" min="1" value="" optional="true" label="Rounds of reweighting Hi-C links. Increasing this may improves phasing results but takes longer time"/> + <param argument="--n-perturb" type="integer" min="1" value="" optional="true" label="Rounds of perturbation. Increasing this may improves phasing results but takes longer time"/> + <param argument="--f-perturb" type="float" min="0" max="1" value="" optional="true" label="Fraction to flip for perturbation. Increasing this may improves phasing results but takes longer time"/> <param argument="--l-msjoin" type="integer" min="0" value="500000" label="Detect misjoined unitigs of greater than or equal to specified size" help="A value of 0 disables this filter"/> </when> </conditional> @@ -268,11 +268,11 @@ <option value="blank">Leave default</option> <option value="set">Specify</option> </param> - <when value="blank" /> + <when value="blank"/> <when value="set"> - <param argument="--ul" type="data" format="fastq,fastq.gz,fasta,fasta.gz" multiple="true" label="Ultra-long (>100kb) reads" /> - <param argument="--ul-rate" type="float" value="0.2" optional="true" label="error rate of ultra-long reads (default 0.2)" /> - <param argument="--ul-tip" type="integer" value="6" optional="true" label="remove tip unitigs composed of less than (INT) reads for the UL assembly (default 6)" /> + <param argument="--ul" type="data" format="fastq,fastq.gz,fasta,fasta.gz" multiple="true" label="Ultra-long (>100kb) reads"/> + <param argument="--ul-rate" type="float" value="0.2" optional="true" label="error rate of ultra-long reads (default 0.2)"/> + <param argument="--ul-tip" type="integer" value="6" optional="true" label="remove tip unitigs composed of less than (INT) reads for the UL assembly (default 6)"/> </when> </conditional> <conditional name="advanced_options"> @@ -280,25 +280,25 @@ <option value="blank">Leave default</option> <option value="set">Specify</option> </param> - <when value="blank" /> + <when value="blank"/> <when value="set"> - <param name="hifiasm_kmer_length" argument="-k" type="integer" min="0" max="64" value="51" label="Hifiasm k-mer length" /> - <param name="window_size" argument="-w" type="integer" min="0" value="51" label="Minimizer window size" /> - <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" /> - <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" /> - <param name="correction_rounds" argument="-r" type="integer" value="3" label="Correction rounds" /> - <param argument="--min-hist-cnt" type="integer" min="0" value="" optional="true" label="Minimum count threshold" help="When analyzing the k-mer spectrum, ignore counts below this value" /> - <param argument="--max-kocc" type="integer" min="0" value="20000" label="Maximum k-mer ocurrence" help="Employ k-mers occurring less than INT times to rescue repetitive overlaps" /> + <param name="hifiasm_kmer_length" argument="-k" type="integer" min="0" max="64" value="51" label="Hifiasm k-mer length"/> + <param name="window_size" argument="-w" type="integer" min="0" value="51" label="Minimizer window size"/> + <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"/> + <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"/> + <param name="correction_rounds" argument="-r" type="integer" value="3" label="Correction rounds"/> + <param argument="--min-hist-cnt" type="integer" min="0" value="" optional="true" label="Minimum count threshold" help="When analyzing the k-mer spectrum, ignore counts below this value"/> + <param argument="--max-kocc" type="integer" min="0" value="20000" label="Maximum k-mer ocurrence" help="Employ k-mers occurring less than INT times to rescue repetitive overlaps"/> <param argument="--hg-size" type="text" value="" optional="true" label="Estimated haploid genome size" help="Estimated haploid genome size used for inferring read coverage. If not provided, this parameter will be infered by hifism. Common suffices are required, for example, 100m or 3g"> <sanitizer invalid_char=""> <valid initial="string.digits"> - <add value="k" /> - <add value="K" /> - <add value="m" /> - <add value="M" /> - <add value="G" /> - <add value="g" /> + <add value="k"/> + <add value="K"/> + <add value="m"/> + <add value="M"/> + <add value="G"/> + <add value="g"/> </valid> </sanitizer> <validator type="regex">[0-9kKmMGg]+</validator> @@ -310,13 +310,13 @@ <option value="blank">No scaffolding (default)</option> <option value="set">Turn on hifiasm scaffolding</option> </param> - <when value="blank" /> + <when value="blank"/> <when value="set"> - <param argument="--scaf-gap" type="integer" min="1" value="3000000" optional="true" label="Max scaffolding gap size" help="Set the max gap size of scaffolds (default is 3,000,000)" /> + <param argument="--scaf-gap" type="integer" min="1" value="3000000" optional="true" label="Max scaffolding gap size" help="Set the max gap size of scaffolds (default is 3,000,000)"/> </when> </conditional> - <param name="log_out" type="boolean" label="Output log file?" truevalue="yes" falsevalue="no" /> - <param name="bins_out" type="boolean" label="Output .bin files (used for development and debugging)?" truevalue="yes" falsevalue="no" /> + <param name="log_out" type="boolean" label="Output log file?" truevalue="yes" falsevalue="no"/> + <param name="bins_out" type="boolean" label="Output .bin files (used for development and debugging)?" truevalue="yes" falsevalue="no"/> </inputs> <outputs> <!--Standard mode--> @@ -373,41 +373,41 @@ <filter>log_out</filter> </data> <collection name="noseq_files" type="list" label="${tool.name} on ${on_string}: noseq files"> - <discover_datasets pattern="__name_and_ext__" format="gfa1" directory="noseq_files" /> + <discover_datasets pattern="__name_and_ext__" format="gfa1" directory="noseq_files"/> </collection> <collection name="bin_files" type="list" label="${tool.name} on ${on_string}: bin files"> <filter>bins_out</filter> - <discover_datasets pattern="__name_and_ext__" format="gfa1" directory="bin_files" /> + <discover_datasets pattern="__name_and_ext__" format="gfa1" directory="bin_files"/> </collection> </outputs> <tests> <!-- TEST 1 --> <test expect_num_outputs="5"> - <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz" /> - <param name="filter_bits" value="0" /> - <param name="mode_selector" value="standard" /> - <output name="raw_unitigs" file="hifiasm-out1-raw.gfa" ftype="gfa1" /> - <output name="processed_unitigs" file="hifiasm-out1-processed.gfa" ftype="gfa1" /> - <output name="primary_contig_graph" file="hifiasm-out1-primary.gfa" ftype="gfa1" /> + <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz"/> + <param name="filter_bits" value="0"/> + <param name="mode_selector" value="standard"/> + <output name="raw_unitigs" file="hifiasm-out1-raw.gfa" ftype="gfa1"/> + <output name="processed_unitigs" file="hifiasm-out1-processed.gfa" ftype="gfa1"/> + <output name="primary_contig_graph" file="hifiasm-out1-primary.gfa" ftype="gfa1"/> </test> <!-- TEST 2 --> <test expect_num_outputs="5"> - <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" /> - <param name="filter_bits" value="0" /> - <param name="mode_selector" value="standard" /> - <output name="raw_unitigs" file="hifiasm-out2-raw.gfa" ftype="gfa1" /> - <output name="processed_unitigs" file="hifiasm-out2-processed.gfa" ftype="gfa1" /> - <output name="primary_contig_graph" file="hifiasm-out2-primary.gfa" ftype="gfa1" /> + <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"/> + <param name="filter_bits" value="0"/> + <param name="mode_selector" value="standard"/> + <output name="raw_unitigs" file="hifiasm-out2-raw.gfa" ftype="gfa1"/> + <output name="processed_unitigs" file="hifiasm-out2-processed.gfa" ftype="gfa1"/> + <output name="primary_contig_graph" file="hifiasm-out2-primary.gfa" ftype="gfa1"/> </test> <!-- TEST 3: Test logfile out--> <test expect_num_outputs="6"> - <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz" /> - <param name="filter_bits" value="0" /> - <param name="mode_selector" value="standard" /> + <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz"/> + <param name="filter_bits" value="0"/> + <param name="mode_selector" value="standard"/> <param name="log_out" value="yes"/> - <output name="raw_unitigs" file="hifiasm-out1-raw.gfa" ftype="gfa1" /> - <output name="processed_unitigs" file="hifiasm-out1-processed.gfa" ftype="gfa1" /> - <output name="primary_contig_graph" file="hifiasm-out1-primary.gfa" ftype="gfa1" /> + <output name="raw_unitigs" file="hifiasm-out1-raw.gfa" ftype="gfa1"/> + <output name="processed_unitigs" file="hifiasm-out1-processed.gfa" ftype="gfa1"/> + <output name="primary_contig_graph" file="hifiasm-out1-primary.gfa" ftype="gfa1"/> <output name="log_file" ftype="txt"> <assert_contents> <has_text text="-o output -f 0 --primary input_0.fasta.gz"/> @@ -416,9 +416,9 @@ </test> <!--TEST 4: Test Hi-C reads--> <test expect_num_outputs="6"> - <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz" /> - <param name="filter_bits" value="0" /> - <param name="mode_selector" value="standard" /> + <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz"/> + <param name="filter_bits" value="0"/> + <param name="mode_selector" value="standard"/> <conditional name="hic_partition"> <param name="hic_partition_selector" value="set"/> <param name="h1" value="hic_1.fastq.gz"/> @@ -428,23 +428,23 @@ <param name="l_perturb" value="0"/> <param name="l_msjoin" value="0"/> </conditional> - <output name="hic_pcontig_graph" file="hifiasm-out-hifi-p.gfa" ftype="gfa1" /> - <output name="hic_acontig_graph" file="hifiasm-out-hifi-a.gfa" ftype="gfa1" /> + <output name="hic_pcontig_graph" file="hifiasm-out-hifi-p.gfa" ftype="gfa1"/> + <output name="hic_acontig_graph" file="hifiasm-out-hifi-a.gfa" ftype="gfa1"/> <output name="hic_balanced_contig_hap1_graph" ftype="gfa1"> <assert_contents> - <has_text_matching expression="^S" /> + <has_text_matching expression="^S"/> <has_size value="83914" delta="500"/> </assert_contents> </output> <output name="hic_balanced_contig_hap1_graph" ftype="gfa1" > <assert_contents> - <has_text_matching expression="^S" /> + <has_text_matching expression="^S"/> <has_size value="83914" delta="500"/> </assert_contents> </output> <output name="hic_raw_initig" ftype="gfa1" > <assert_contents> - <has_text_matching expression="^S" /> + <has_text_matching expression="^S"/> <has_size value="83904" delta="500"/> </assert_contents> </output> @@ -464,112 +464,112 @@ <param name="min_kmers" value="5"/> </conditional> <assert_command> - <has_text text="-1 hap1.yak" /> - <has_text text="-2 hap2.yak" /> - <has_text text="--primary" /> + <has_text text="-1 hap1.yak"/> + <has_text text="-2 hap2.yak"/> + <has_text text="--primary"/> </assert_command> </test> <!-- TEST 6: Test ignore-error-corrected option --> <test expect_num_outputs="5"> - <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz" /> - <param name="filter_bits" value="0" /> - <param name="mode_selector" value="standard" /> + <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz"/> + <param name="filter_bits" value="0"/> + <param name="mode_selector" value="standard"/> <conditional name="assembly_options"> <param name="assembly_selector" value="set"/> <param name="ignore_error_corrected" value="True"/> </conditional> - <output name="raw_unitigs" file="hifiasm-out3-raw.gfa" ftype="gfa1" /> - <output name="processed_unitigs" file="hifiasm-out3-processed.gfa" ftype="gfa1" /> - <output name="primary_contig_graph" file="hifiasm-out3-primary.gfa" ftype="gfa1" /> + <output name="raw_unitigs" file="hifiasm-out3-raw.gfa" ftype="gfa1"/> + <output name="processed_unitigs" file="hifiasm-out3-processed.gfa" ftype="gfa1"/> + <output name="primary_contig_graph" file="hifiasm-out3-primary.gfa" ftype="gfa1"/> </test> <!-- TEST 7: Test expected haplotype number --> <test expect_num_outputs="5"> - <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz" /> - <param name="filter_bits" value="0" /> - <param name="mode_selector" value="standard" /> + <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz"/> + <param name="filter_bits" value="0"/> + <param name="mode_selector" value="standard"/> <conditional name="purge_options"> <param name="purge_selector" value="set"/> <param name="n_hap" value="1"/> </conditional> - <output name="raw_unitigs" file="hifiasm-out4-raw.gfa" ftype="gfa1" /> - <output name="processed_unitigs" file="hifiasm-out4-processed.gfa" ftype="gfa1" /> - <output name="primary_contig_graph" file="hifiasm-out4-primary.gfa" ftype="gfa1" /> + <output name="raw_unitigs" file="hifiasm-out4-raw.gfa" ftype="gfa1"/> + <output name="processed_unitigs" file="hifiasm-out4-processed.gfa" ftype="gfa1"/> + <output name="primary_contig_graph" file="hifiasm-out4-primary.gfa" ftype="gfa1"/> </test> <!-- TEST 8: Test min_hist_cnt option --> <test expect_num_outputs="5"> - <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz" /> - <param name="filter_bits" value="0" /> - <param name="mode_selector" value="standard" /> + <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz"/> + <param name="filter_bits" value="0"/> + <param name="mode_selector" value="standard"/> <conditional name="advanced_options"> <param name="advanced_selector" value="set"/> <param name="min_hist_cnt" value="1"/> </conditional> - <output name="raw_unitigs" file="hifiasm-out5-raw.gfa" ftype="gfa1" /> - <output name="processed_unitigs" file="hifiasm-out5-processed.gfa" ftype="gfa1" /> - <output name="primary_contig_graph" file="hifiasm-out5-primary.gfa" ftype="gfa1" /> + <output name="raw_unitigs" file="hifiasm-out5-raw.gfa" ftype="gfa1"/> + <output name="processed_unitigs" file="hifiasm-out5-processed.gfa" ftype="gfa1"/> + <output name="primary_contig_graph" file="hifiasm-out5-primary.gfa" ftype="gfa1"/> </test> <!-- TEST 9: Test max_kooc option --> <test expect_num_outputs="5"> - <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz" /> - <param name="filter_bits" value="0" /> - <param name="mode_selector" value="standard" /> + <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz"/> + <param name="filter_bits" value="0"/> + <param name="mode_selector" value="standard"/> <conditional name="advanced_options"> <param name="advanced_selector" value="set"/> <param name="max_kooc" value="21000"/> </conditional> - <output name="raw_unitigs" file="hifiasm-out6-raw.gfa" ftype="gfa1" /> - <output name="processed_unitigs" file="hifiasm-out6-processed.gfa" ftype="gfa1" /> - <output name="primary_contig_graph" file="hifiasm-out6-primary.gfa" ftype="gfa1" /> + <output name="raw_unitigs" file="hifiasm-out6-raw.gfa" ftype="gfa1"/> + <output name="processed_unitigs" file="hifiasm-out6-processed.gfa" ftype="gfa1"/> + <output name="primary_contig_graph" file="hifiasm-out6-primary.gfa" ftype="gfa1"/> </test> <!-- TEST 10: Test hg-size option --> <test expect_num_outputs="5"> - <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz" /> - <param name="filter_bits" value="0" /> - <param name="mode_selector" value="standard" /> + <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz"/> + <param name="filter_bits" value="0"/> + <param name="mode_selector" value="standard"/> <conditional name="advanced_options"> <param name="advanced_selector" value="set"/> <param name="hg_size" value="1k"/> </conditional> - <output name="raw_unitigs" file="hifiasm-out7-raw.gfa" ftype="gfa1" /> - <output name="processed_unitigs" file="hifiasm-out7-processed.gfa" ftype="gfa1" /> - <output name="primary_contig_graph" file="hifiasm-out7-primary.gfa" ftype="gfa1" /> + <output name="raw_unitigs" file="hifiasm-out7-raw.gfa" ftype="gfa1"/> + <output name="processed_unitigs" file="hifiasm-out7-processed.gfa" ftype="gfa1"/> + <output name="primary_contig_graph" file="hifiasm-out7-primary.gfa" ftype="gfa1"/> </test> <!-- TEST 11: Test ignore-error-corrected option --> <test expect_num_outputs="5"> - <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz" /> - <param name="filter_bits" value="0" /> - <param name="mode_selector" value="standard" /> + <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz"/> + <param name="filter_bits" value="0"/> + <param name="mode_selector" value="standard"/> <conditional name="assembly_options"> <param name="assembly_selector" value="set"/> <param name="hom-cov" value="1000"/> </conditional> - <output name="raw_unitigs" file="hifiasm-out8-raw.gfa" ftype="gfa1" /> - <output name="processed_unitigs" file="hifiasm-out8-processed.gfa" ftype="gfa1" /> - <output name="primary_contig_graph" file="hifiasm-out8-primary.gfa" ftype="gfa1" /> + <output name="raw_unitigs" file="hifiasm-out8-raw.gfa" ftype="gfa1"/> + <output name="processed_unitigs" file="hifiasm-out8-processed.gfa" ftype="gfa1"/> + <output name="primary_contig_graph" file="hifiasm-out8-primary.gfa" ftype="gfa1"/> </test> <!-- TEST 12: test nanopore input --> <test expect_num_outputs="5"> - <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz" /> - <param name="mode_selector" value="standard" /> - <param name="filter_bits" value="0" /> + <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz"/> + <param name="mode_selector" value="standard"/> + <param name="filter_bits" value="0"/> <conditional name="ont_integration"> - <param name="ont_integration_selector" value="set" /> - <param name="ul" value="nanopore.fasta.gz" /> - <param name="ul_tip" value="1" /> + <param name="ont_integration_selector" value="set"/> + <param name="ul" value="nanopore.fasta.gz"/> + <param name="ul_tip" value="1"/> </conditional> - <output name="primary_contig_graph" file="hifiasm-out11-primary.gfa" ftype="gfa1" /> - <output name="raw_unitigs" file="hifiasm-out11-raw.gfa" ftype="gfa1" /> + <output name="primary_contig_graph" file="hifiasm-out11-primary.gfa" ftype="gfa1"/> + <output name="raw_unitigs" file="hifiasm-out11-raw.gfa" ftype="gfa1"/> </test> <!-- TEST 13: test multi-file nanopore input --> <test expect_num_outputs="6"> - <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz" /> - <param name="mode_selector" value="standard" /> - <param name="filter_bits" value="0" /> - <param name="log_out" value="yes" /> + <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz"/> + <param name="mode_selector" value="standard"/> + <param name="filter_bits" value="0"/> + <param name="log_out" value="yes"/> <conditional name="ont_integration"> - <param name="ont_integration_selector" value="set" /> - <param name="ul" value="nanopore.fasta.gz,nanopore.fasta.gz" /> - <param name="ul_tip" value="1" /> + <param name="ont_integration_selector" value="set"/> + <param name="ul" value="nanopore.fasta.gz,nanopore.fasta.gz"/> + <param name="ul_tip" value="1"/> </conditional> <output name="log_file" ftype="txt"> <assert_contents> @@ -579,11 +579,11 @@ </test> <!-- TEST 14: test bin files --> <test expect_num_outputs="6"> - <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz" /> - <param name="filter_bits" value="0" /> - <param name="mode_selector" value="standard" /> - <param name="bins_out" value="yes" /> - <output_collection name="bin_files" type="list" count="3" /> + <param name="reads" value="hifiasm-in1.fa.gz" ftype="fasta.gz"/> + <param name="filter_bits" value="0"/> + <param name="mode_selector" value="standard"/> + <param name="bins_out" value="yes"/> + <output_collection name="bin_files" type="list" count="3"/> </test> <!-- TEST 15: Test trio LIST mode --> <test expect_num_outputs="6">