Skip to content

Commit

Permalink
multiqc
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jan 10, 2025
1 parent 47b2829 commit 21c6ab1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion snakePipes/shared/rules/multiQC.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,21 @@ def multiqc_input_check(return_value):
indir += "allelic_bams"
elif pipeline=="rnaseq":
# must be RNA-mapping, add files as per the mode
if ( "alignment" in mode or "deepTools_qc" in mode or "three-prime-seq" in mode ) and not "allelic" in mode:
if ( "alignment" in mode or "deepTools_qc" in mode or "three-prime-seq" in mode ) and not "allelic-mapping" in mode and not "allelic-counting" in mode and not "allelic-whatshap" in mode:
infiles.append( expand(aligner+"/{sample}.markdup.bam", sample = samples) +
expand("Sambamba/{sample}.markdup.txt", sample = samples) +
expand("deepTools_qc/estimateReadFiltering/{sample}_filtering_estimation.txt",sample=samples)+
expand("featureCounts/{sample}.counts.txt", sample = samples))
indir += aligner + " featureCounts "
indir += " Sambamba "
indir += " deepTools_qc "
if "allelic-whatshap" in mode:
infiles.append( expand(aligner+"/{sample}.markdup.bam", sample = samples) +
expand("Sambamba/{sample}.markdup.txt", sample = samples) +
expand("deepTools_qc/estimateReadFiltering/{sample}_filtering_estimation.txt",sample=samples)
indir += aligner
indir += " Sambamba "
indir += " deepTools_qc "
if "allelic-mapping" in mode or "allelic-counting" in mode or "allelic-whatshap" in mode:
infiles.append( expand("featureCounts/{sample}.allelic_counts.txt", sample = samples) )
indir += aligner + " featureCounts "
Expand Down

0 comments on commit 21c6ab1

Please sign in to comment.