# HG changeset patch # User iuc # Date 1718865610 0 # Node ID c961f3f5417f67dc887f894685eb62927af3fb36 # Parent 73c1d9b51ab029e98c2be8fa8f6a41448d96b6ba planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 0d6df32b6249e9f0ac4bb2bbd006c6215bbddfc8 diff -r 73c1d9b51ab0 -r c961f3f5417f tb_profiler_profile.xml --- a/tb_profiler_profile.xml Sun Jan 22 10:47:54 2023 +0000 +++ b/tb_profiler_profile.xml Thu Jun 20 06:40:10 2024 +0000 @@ -1,8 +1,11 @@ - + Infer strain types and drug resistance markers from sequences - 4.4.1 + 6.2.1 + + tb-profiler + tb-profiler @@ -28,6 +31,7 @@ tb-profiler profile --platform '${platform.value}' + ${spoligotype} #if str($fastq_or_bam.input_select.value) in ("paired_fastq", "paired_collection_fastq", "single_fastq") -1 fastq_r1.'$r1_ext' #end if @@ -41,9 +45,17 @@ #if $advanced.options == 'yes' --mapper '${advanced.mapper}' --caller '${advanced.caller}' - --min_depth '${advanced.min_depth}' - --af '${advanced.min_allele_freq}' - --reporting_af '${advanced.min_allele_freq_reporting}' + --depth '${advanced.vf.min_depth_hard},${advanced.vf.min_depth_soft}' + --af '${advanced.vf.min_af_hard},${advanced.vf.min_af_soft}' + --strand '${advanced.vf.min_read_hard},${advanced.vf.min_read_soft}' + --sv-depth '${advanced.vf.min_sv_depth_hard},${advanced.vf.min_sv_depth_soft}' + --sv-af '${advanced.vf.min_sv_af_hard},${advanced.vf.min_sv_af_soft}' + --sv-len '${advanced.vf.max_sv_len_hard},${advanced.vf.max_sv_len_soft}' + ${advanced.suspect} + ${advanced.no_trim} + ${advanced.no_coverage_qc} + ${advanced.no_samclip} + ${advanced.no_delly} #end if #if $output_format == "pdf" @@ -55,7 +67,7 @@ #if str($fastq_or_bam.input_select) != "bam" && mv bam/tbprofiler.bam '${output_bam}' #end if - && bcftools view -Ov -o'${output_vcf}' vcf/tbprofiler.targets.csq.vcf.gz + && bcftools view -Ov -o'${output_vcf}' vcf/tbprofiler.targets.vcf.gz #if $output_format == "pdf" && mv results/tbprofiler.results.pdf '${output_pdf}' #else if $output_format == "txt" @@ -90,6 +102,8 @@ + @@ -115,9 +129,38 @@ - - - +
+ + + + + + + + + + + + +
+ + + + + @@ -133,7 +176,6 @@ output_format == 'txt' - @@ -145,9 +187,9 @@ - + - + @@ -160,9 +202,9 @@ - + - + @@ -171,15 +213,38 @@ - - - + + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + - - + @@ -195,6 +260,17 @@ Produces a JSON output file by default. +In the Advanced options, you can select the mapper and variant caller to use, as well as set a number of filtering parameters. +Each of these typically has a "hard" and a "soft" cutoff. If a variant value is below the "hard" cutoff it is discarded, if +it is between the "hard" and "soft" values it is removed from the final predictions but added to the "qc_fail_variants" section +of the output. + +One of the advanced options is to use the SUSPECT tool suite to predict resistance to `rifampicin (RIF)`_, `pyrazinamide (PZA)`_ +and `bedaquiline (BDQ)`_. + +.. _rifampicin (RIF): https://www.nature.com/articles/s41598-020-74648-y +.. _pyrazinamide (PZA): https://www.nature.com/articles/s41598-020-58635-x +.. _bedaquiline (BDQ): https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0217169 ]]> 10.1186/s13073-019-0650-x diff -r 73c1d9b51ab0 -r c961f3f5417f test-data/rpoB_and_crispr.fastq.gz Binary file test-data/rpoB_and_crispr.fastq.gz has changed