Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Araformatics group
Araformatics project
Commits
eb7a62b7
Commit
eb7a62b7
authored
Dec 01, 2021
by
Eendebak, Liset
Browse files
Delete mapping
parent
50ec6ea4
Changes
1
Hide whitespace changes
Inline
Side-by-side
mapping
deleted
100644 → 0
View file @
50ec6ea4
#ftp.sra.ebi.ac.uk/vol1/run/ERR462/ERR4627(061)/201806(13.A-10R1)_R1.fastq.gz
#, "20180613.A-10R2"
SAMPLES = ["20180613.A-10R1", "20180613.A-10R2"]
rule all:
input:
expand("{sample}_hisat2.gtf", sample=SAMPLES)
#leaf 288 R4_2 has a different name
rule mapping:
input:
reads = "../transcriptome/{sample}_R1.fastq.gz",
index = "../Arabidopsis_thaliana/TAIR.1.ht2",
output:
"{sample}_hisat2.sam",
params:
index="../Arabidopsis_thaliana/TAIR",
shell:
"hisat2 -p 1 -x {params.index} -U {input.reads} -S {output}"
rule sort_sam: # works for both bowtie2 and hisat2
input:
"{sample}_hisat2.sam"
output:
"{sample}_hisat2.bam"
shell:
"samtools sort -o {output} {input}"
rule stringtie:
input:
bamfile = "{sample}_hisat2.bam",
annotation = "../Arabidopsis_thaliana/genes.gtf",
output:
"{sample}_hisat2.gtf"
params:
label="{sample}"
shell:
"stringtie -G {input.annotation} -o {output} -l {params.label} {input.bamfile}"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment