# HG changeset patch # User iuc # Date 1666990710 0 # Node ID 63e02ef6e1531e5429184fde1c73b41ee6846afa # Parent 44f6ec903688f788a8f6a0086ffa7417466c049d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/clair3 commit 05505898035b41c07461dc0eecec61699ecbcf41 diff -r 44f6ec903688 -r 63e02ef6e153 clair3.xml --- a/clair3.xml Wed Jun 15 09:45:05 2022 +0000 +++ b/clair3.xml Fri Oct 28 20:58:30 2022 +0000 @@ -1,8 +1,12 @@ + germline small variant caller for long-reads - 0.1.11 + 0.1.12 0 + + clair3 + clair3 @@ -18,9 +22,13 @@ #if $model_source.source == "datatable" #set model_path = $model_source.model.fields.path #end if - - ln -s '${$bam_input}' input_reads.bam && - ln -s '${$bam_input.metadata.bam_index}' input_reads.bai && + #set $extension = $bam_input.ext + ln -s '${$bam_input}' input_reads.$extension && + #if $extension == 'bam' + ln -s '${$bam_input.metadata.bam_index}' input_reads.bai && + #else + ln -s '${$bam_input.metadata.cram_index}' input_reads.crai && + #end if #if $bed_or_vcf.bed_or_vcf_selector == 'bed' ln -s '$bed_or_vcf.bed_fn' input.bed && @@ -29,7 +37,7 @@ #end if run_clair3.sh - --bam_fn=input_reads.bam + --bam_fn=input_reads.$extension --ref_fn=reference.fasta #if $model_source.source == "datatable" --platform='${model_source.model.fields.platform}' @@ -43,7 +51,7 @@ --model_path=\$(dirname \$(which run_clair3.sh))/models/$model_source.select_built_in #end if --output='.' - --threads=\${GALAXY_SLOTS:-1} + --threads=\${GALAXY_SLOTS:-2} #if $bed_or_vcf.bed_or_vcf_selector == 'bed' --bed_fn=input.bed #elif $bed_or_vcf.bed_or_vcf_selector == 'vcf' @@ -51,9 +59,7 @@ #else $bed_or_vcf.include_all_ctgs #end if - #if $output_options.selection_mode == 'advanced' - $output_options.gvcf - #end if + $gvcf #if $adv.qual --qual=$adv.qual #end if @@ -73,13 +79,14 @@ ]]> + - + @@ -88,12 +95,12 @@ - + - + - + @@ -101,68 +108,60 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + -
- - - - - - - - - - + + + + + + +
+ + + + + + + + + + - +
- - - output_options['selection_mode'] == 'advanced' and output_options['pileup_check'] + + + output_files and 'pileup' in output_files - - output_options['selection_mode'] == 'advanced' and output_options['full_alignment_check'] + + output_files and 'full_alignment' in output_files - - output_options['selection_mode'] == 'advanced' and output_options['phased_bam_check'] + + output_files and 'phased_bam' in output_files @@ -180,10 +179,6 @@ - - - -
@@ -207,18 +202,14 @@ - - - - - - + +
- - - + + + @@ -235,12 +226,7 @@ - - - - - - +
@@ -268,6 +254,19 @@ + + + + + + + + + + + + +