-
Notifications
You must be signed in to change notification settings - Fork 0
/
Snakefile
38 lines (32 loc) · 1.03 KB
/
Snakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
'''
@File : Snakefile
@Time : 2023/01/30 14:23:11
@Author : wenyuhao
@Version : 1.0
@Contact : [email protected]
@Desc : None
'''
# here put the import lib
include: 'rules/common.smk'
include: 'rules/ref.smk'
include: 'rules/preprocess.smk'
include: 'rules/mapping.smk'
include: 'rules/aggregate.smk'
#include: 'rules/comparison.smk'
import os
BASE_DIR = os.path.dirname(workflow.snakefile)
rule all:
input:
# rules.genome.output.fasta,
# rules.genome.output.gtf,
# rules.sequenceDownload.output.cdna,
# rules.sequenceDownload.output.pep,
# rules.sequenceDownload.output.cds,
rules.STARindex.output,
rules.annotation.output,
[refPath(i) for i in ['genome.fa.gz','genome.gtf.gz','cdna.fa.gz','pep.fa.gz','cds.fa.gz']],
# [directory(refPath(i)) for i in ['STARindex','annotation']],
expand(
config['workspace'] + '/aggregate/all_sample_{set}_{out}.txt',
set=['transcript','gene'], out=['raw_counts', 'fpkm','tpm']
)