Skip to content

Commit

Permalink
fix umi qc rules
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbio committed Oct 17, 2024
1 parent f9751c6 commit c571b4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BALSAMIC/snakemake_rules/umi/qc_umi.rule
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

rule picard_umiaware:
input:
bam = umi_dir + "{sample_type}.{sample}.consensusfiltered_umi.bam"
bam = umi_dir + "{sample_type}.{sample}_consensusfiltered_umi.bam"
output:
bam = umi_qc_dir + "{sample_type}.{sample}.picard.umiaware.bam",
duplicates = umi_qc_dir + "{sample_type}.{sample}.umi.duplicatemetrics.txt",
Expand Down Expand Up @@ -36,7 +36,7 @@ UMI_METRICS={output.umimetrics};

rule picard_collecthsmetrics_umi:
input:
bam = umi_dir + "{sample_type}.{sample}.consensusfiltered_umi.bam",
bam = umi_dir + "{sample_type}.{sample}_consensusfiltered_umi.bam",
bed = config["panel"]["capture_kit"],
fa = config["reference"]["reference_genome"],
fadict = (config["reference"]["reference_genome"]).replace(".fasta",".dict"),
Expand Down Expand Up @@ -78,7 +78,7 @@ METRIC_ACCUMULATION_LEVEL=ALL_READS;

rule samtools_view_calculatemeanfamilydepth_umi:
input:
bam = umi_dir + "{sample_type}.{sample}.consensusfiltered_umi.bam"
bam = umi_dir + "{sample_type}.{sample}_consensusfiltered_umi.bam"
output:
temp_fl = temp (umi_qc_dir + "{sample_type}.{sample}.umi.temp.fl"),
totalsum = umi_qc_dir + "{sample_type}.{sample}.umi.mean_family_depth"
Expand Down

0 comments on commit c571b4d

Please sign in to comment.