# HG changeset patch # User iuc # Date 1722349405 0 # Node ID bd1bbbf7d9b24c0b432d13deda99a54993af1a14 # Parent a412acb452eafdf38efd2dbe909fb5b946e14bfc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/clair3 commit fa0f3ca0b9b305a017bb37e43fe9b9a897a1149c diff -r a412acb452ea -r bd1bbbf7d9b2 clair3.xml --- a/clair3.xml Wed Jun 15 09:44:21 2022 +0000 +++ b/clair3.xml Tue Jul 30 14:23:25 2024 +0000 @@ -1,8 +1,12 @@ - + + germline small variant caller for long-reads - 0.1.11 + 1.0.8 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 @@ -70,16 +76,16 @@ #if $adv.chunk_size --chunk_size=$adv.chunk_size #end if - ]]> + - + @@ -88,12 +94,12 @@ - + - + - + @@ -101,71 +107,64 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + -
- - - - - - - - - - + + + + + + +
+ + + + + + + + + + - +
- - - 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_vcf' in output_files + @@ -180,10 +179,6 @@ - - - -
@@ -193,9 +188,10 @@ + - + @@ -207,20 +203,18 @@ - - - - - - + +
+
- - - - + + + +
+ @@ -235,21 +229,16 @@ - - - - - - +
- + - + @@ -262,12 +251,26 @@ - +
+ + + + + + + + + + + + + +