Skip to content

Commit

Permalink
Updating rule all for new sqanti target
Browse files Browse the repository at this point in the history
  • Loading branch information
skchronicles committed Sep 18, 2023
1 parent 498dfe3 commit bf93928
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ rule all:
# @imported from `rule flair_quantify` in rules/quant.smk
join(workpath, "project", "counts", "novel", "flair.transcripts.counts.tsv"),
join(workpath, "project", "counts", "novel", "flair.transcripts.tpm.tsv"),
# SQANTI3 QC, known/novel isoform quantification
# Characterize and annotate collapsed transcripts from flair
# @imported from `rule sqanti_qc` in rules/sqanti.smk
join(workpath, "project", "counts", "novel", "sqanti.isoforms_classification.txt"),
# Nanopolish polyA tail length estimation,
# needs index to map basecalled reads to
# raw signal from the ONT sequencer
Expand Down Expand Up @@ -323,6 +327,7 @@ include: join("rules", "trim.smk")
include: join("rules", "qc.smk")
include: join("rules", "map.smk")
include: join("rules", "quant.smk")
include: join("rules", "sqanti.smk")
include: join("rules", "editing_a-to-i.smk")
include: join("rules", "polya.smk")
include: join("rules", "diffexp.smk")
Expand Down
7 changes: 4 additions & 3 deletions workflow/rules/sqanti.smk
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ rule sqanti_qc:
# Structural and quality annotation
# of collapsed transcript from flair
sqanti3_qc.py \\
{input.fa} {input.gtf} {input.genome} \\
{input.fa} \\
{input.gtf} \\
{input.genome} \\
--aligner_choice=minimap2 \\
--cpus {threads} \\
--output {params.output} \\
--output {params.prefix} \\
--dir {params.outdir} \\
--CAGE_peak {params.cage_peak} \\
--polyA_motif_list {params.polya_motif} \\
Expand Down Expand Up @@ -81,4 +83,3 @@ rule sqanti_ml_filter:
ML Filtered Corrected Annotation (GTF),
ML Filtered Corrected Transcriptome (FASTA)
"""
pass

0 comments on commit bf93928

Please sign in to comment.