# HG changeset patch # User iuc # Date 1717068713 0 # Node ID 4839e590cb26de8728d06b4b1ad6365b65d0082f # Parent d03af1c7002c20cd979f3b67a932ec7edb488dbd planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 74ef4277d954bbbb0acd47ae6ef2d323485d5bf1 diff -r d03af1c7002c -r 4839e590cb26 tb_profiler_profile.xml --- a/tb_profiler_profile.xml Mon Mar 11 21:48:49 2024 +0000 +++ b/tb_profiler_profile.xml Thu May 30 11:31:53 2024 +0000 @@ -1,7 +1,7 @@ - + Infer strain types and drug resistance markers from sequences - 4.4.1 + 6.2.1 tb-profiler @@ -31,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 @@ -44,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" @@ -58,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" @@ -93,6 +102,8 @@ + @@ -118,9 +129,38 @@ - - - +
+ + + + + + + + + + + + +
+ + + + + @@ -136,7 +176,6 @@ output_format == 'txt' - @@ -148,9 +187,9 @@ - + - + @@ -163,9 +202,9 @@ - + - + @@ -174,15 +213,38 @@ - - - + + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + - - + @@ -198,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 d03af1c7002c -r 4839e590cb26 test-data/rpoB_and_crispr.fastq.gz Binary file test-data/rpoB_and_crispr.fastq.gz has changed