# HG changeset patch # User bgruening # Date 1697839412 0 # Node ID 41cea2aa2dce9c87f1e0a17b5a9abf477273a29d # Parent 60024a528cbd2e24e0895c6238394e1642d434d5 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/hifiasm commit 7dca92baf6a91f10bced28b883f14d3f4d7630c5 diff -r 60024a528cbd -r 41cea2aa2dce hifiasm.xml --- a/hifiasm.xml Fri Oct 13 07:26:01 2023 +0000 +++ b/hifiasm.xml Fri Oct 20 22:03:32 2023 +0000 @@ -2,7 +2,7 @@ haplotype-resolved de novo assembler for PacBio Hifi reads 0.19.7 - 0 + 1 fasta,fasta.gz,fastq,fastq.gz @@ -50,20 +50,26 @@ #end for #end if #if str($mode.mode_selector) == 'trio': - #for idx, read in enumerate($mode.hap1_reads): - #set $inputfile = 'hap1_input_%d.%s' % ($idx, $read.dataset.extension) - ln -s '$read' $inputfile && - $hap1_inputs.append($inputfile) - #end for - #for idx, read in enumerate($mode.hap2_reads): - #set $inputfile = 'hap2_input_%d.%s' % ($idx, $read.dataset.extension) - ln -s '$read' $inputfile && - $hap2_inputs.append($inputfile) - #end for - #set $hap1_filenames = ' '.join($hap1_inputs) - #set $hap2_filenames = ' '.join($hap2_inputs) - yak count -k$mode.yak_kmer_length -b$filter_bits -t\${GALAXY_SLOTS:-1} -o hap1.yak $hap1_filenames && - yak count -k$mode.yak_kmer_length -b$filter_bits -t\${GALAXY_SLOTS:-1} -o hap2.yak $hap2_filenames && + #if str($mode.trioinput.trio_input_selector) == 'reads': + #for idx, read in enumerate($mode.trioinput.hap1_reads): + #set $inputfile = 'hap1_input_%d.%s' % ($idx, $read.dataset.extension) + ln -s '$read' $inputfile && + $hap1_inputs.append($inputfile) + #end for + #for idx, read in enumerate($mode.trioinput.hap2_reads): + #set $inputfile = 'hap2_input_%d.%s' % ($idx, $read.dataset.extension) + ln -s '$read' $inputfile && + $hap2_inputs.append($inputfile) + #end for + #set $hap1_filenames = ' '.join($hap1_inputs) + #set $hap2_filenames = ' '.join($hap2_inputs) + yak count -k$mode.yak_kmer_length -b$filter_bits -t\${GALAXY_SLOTS:-1} -o hap1.yak $hap1_filenames && + yak count -k$mode.yak_kmer_length -b$filter_bits -t\${GALAXY_SLOTS:-1} -o hap2.yak $hap2_filenames && + #end if + #if str($mode.trioinput.trio_input_selector) == 'lists': + #set $hap1_filenames = $mode.trioinput.hap1_list + #set $hap2_filenames = $mode.trioinput.hap2_list + #end if #end if hifiasm -t \${GALAXY_SLOTS:-1} @@ -99,10 +105,17 @@ #end if #end if #if str($mode.mode_selector) == 'trio': - -1 hap1.yak - -2 hap2.yak + #if str($mode.trioinput.trio_input_selector) == 'reads': + -1 hap1.yak + -2 hap2.yak + #end if + #if str($mode.trioinput.trio_input_selector) == 'lists': + -3 $hap1_filenames + -4 $hap2_filenames + #end if -c $mode.max_kmers -d $mode.min_kmers + $mode.trio_dual #end if #if str($purge_options.purge_selector) == 'set': -l $purge_options.purge_level @@ -175,11 +188,24 @@ - - + + + + + + + + + + + + + + + @@ -428,9 +454,12 @@ - - - + + + + + + @@ -556,6 +585,27 @@ + + + + + + + + + + + + + + + + + + + + +