# HG changeset patch # User iuc # Date 1581551007 0 # Node ID 7b0c9772af4ebbb0e814b258e48ce8d8b2cdf874 # Parent 064a3a7e953fb97e0c9da899f59ea44706d21195 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit 3d0fa6bbfa1ee35ab1de444703741cc90f95c729" diff -r 064a3a7e953f -r 7b0c9772af4e lofreq_call.xml --- a/lofreq_call.xml Fri Jan 31 11:16:45 2020 +0000 +++ b/lofreq_call.xml Wed Feb 12 23:43:27 2020 +0000 @@ -1,4 +1,4 @@ - + with LoFreq macros.xml @@ -9,6 +9,28 @@ @PREPARE_REF@ ln -s '$reads' reads.bam && ln -s -f '${reads.metadata.bam_index}' reads.bam.bai && + #if str($call_control.set_call_options) == 'yes': + #set $ign_vcfs = [] + #if str($call_control.source_qual.use_src_qual.src_qual): + #for $n, $ign_vcf in enumerate($call_control.source_qual.use_src_qual.ign_vcf): + ## lofreq recognizes compressed vcf input based on its .gz + ## suffix => symlink all datasets with standard extensions. + ## For bgzipped vcfs, also make the index files available. + #if $ign_vcf: + #if $ign_vcf.is_of_type('vcf_bgzip'): + #set $ign_src = 'ign%d.vcf.gz' % $n + ln -s '$ign_vcf' $ign_src && + ln -s '$ign_vcf.metadata.tabix_index' ${ign_src}.tbi && + #else: + #set $ign_src = 'ign%d.vcf' % $n + ln -s '$ign_vcf' $ign_src && + #end if + #silent $ign_vcfs.append($ign_src) + #end if + #end for + #end if + #set $ign_vcfs = ','.join($ign_vcfs) + #end if ## call variants with lofreq @@ -30,21 +52,33 @@ --max-depth $call_control.coverage.max_depth $call_control.pe.use_orphan --min-bq $call_control.bc_quals.min_bq - --min-alt-bq $call_control.bc_quals.min_alt_bq - --def-alt-bq $call_control.bc_quals.def_alt_bq + #if $call_control.bc_quals.min_alt_bq > $call_control.bc_quals.min_bq: + --min-alt-bq $call_control.bc_quals.min_alt_bq + #else: + --min-alt-bq $call_control.bc_quals.min_bq + #end if + #if str($call_control.bc_quals.alt_bq.modify): + --def-alt-bq $call_control.bc_quals.alt_bq.def_alt_bq + #end if ${call_control.align_quals.alnqual.use_alnqual} #if str($call_control.align_quals.alnqual.use_alnqual) != '-A -B': ${call_control.align_quals.alnqual.alnqual_choice.alnquals_to_use} ${call_control.align_quals.alnqual.alnqual_choice.extended_baq} #end if --min-mq $call_control.map_quals.min_mq - --max-mq $call_control.map_quals.use_mq.max_mq - $call_control.map_quals.use_mq.no_mq + #if str($call_control.map_quals.use_mq.no_mq): + $call_control.map_quals.use_mq.no_mq + #else: + #if $call_control.map_quals.use_mq.max_mq > $call_control.map_quals.min_mq: + --max-mq $call_control.map_quals.use_mq.max_mq + #else: + --max-mq $call_control.map_quals.min_mq + #end if + #end if #if str($call_control.source_qual.use_src_qual.src_qual): $call_control.source_qual.use_src_qual.src_qual - #set $ign_vcfs = ','.join([str($ign_vcf) for $ign_vcf in $call_control.source_qual.use_src_qual.ign_vcf if $ign_vcf]) #if $ign_vcfs: - --ign-vcf "$ign_vcfs" + --ign-vcf '$ign_vcfs' #end if --def-nm-q $call_control.source_qual.use_src_qual.def_nm_q #end if @@ -125,9 +159,23 @@ - + + + + + + + + + + + + + +
@@ -160,7 +208,7 @@ + help="For the joint quality model at any site, cap the mapping quality of reads at this value (default: 255 = do not cap mapping qualities). Notes: 1) You cannot cap mapping qualities at less than the minimum MAPQ defined above. If you try, MAPQs will be capped at that minimum quality instead. 2) The special MAPQ value 255 is used by many tools to indicate undefined mapping quality, and lofreq call will ignore such reads during variant calling. Capping, however, will turn 255 into a regular MAPQ score. Thus, if you need to avoid using such reads, you should filter out MAPQ 255 reads from your input data with other tools before using lofreq call with MAPQ capping."/> @@ -179,7 +227,7 @@ - @@ -248,6 +296,31 @@ + + + + + + + + + + + +
+ + + + + +
+
+ +
+ + + +