Skip to content

Commit

Permalink
removed different handling for SE and PE reads
Browse files Browse the repository at this point in the history
  • Loading branch information
riasc committed Jan 17, 2024
1 parent ec0bd9c commit 86b13fb
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions workflow/rules/quantification.smk
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,6 @@ rule countfeatures_rnaseq:
mapq=f"""{config['mapq']}"""
shell:
"""
if [ {params.readtype} == "SE" ]; then
featureCounts \
-F GTF \
-a {input.annotation_file} \
-t gene \
-g gene_id \
--fracOverlap 0.2 \
-Q {params.mapq} \
-T {threads} \
-o {output.table} {input.sample} > {log} 2>&1
elif [ {params.readtype} == "PE" ]; then
featureCounts \
-p \
-F GTF \
Expand All @@ -67,7 +56,6 @@ rule countfeatures_rnaseq:
-Q {params.mapq} \
-T {threads} \
-o {output.table} {input.sample} > {log} 2>&1
fi
"""

# merges the count tables from all samples into single table (calculates TPM)
Expand Down

0 comments on commit 86b13fb

Please sign in to comment.