Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RNAflow
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hub
RNAflow
Commits
da795e69
Commit
da795e69
authored
3 years ago
by
Rachel LEGENDRE
Browse files
Options
Downloads
Patches
Plain Diff
fixe maestro path
parent
d176e65d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Snakefile
+4
-4
4 additions, 4 deletions
Snakefile
config/config.yaml
+13
-11
13 additions, 11 deletions
config/config.yaml
workflow/rules/cutadapt.rules
+1
-1
1 addition, 1 deletion
workflow/rules/cutadapt.rules
workflow/rules/sortmerna.rules
+5
-1
5 additions, 1 deletion
workflow/rules/sortmerna.rules
with
23 additions
and
17 deletions
Snakefile
+
4
−
4
View file @
da795e69
...
@@ -182,8 +182,8 @@ if config["bowtie2_mapping"]["do"]:
...
@@ -182,8 +182,8 @@ if config["bowtie2_mapping"]["do"]:
# indexing for bowtie2
# indexing for bowtie2
bowtie2_index_fasta = unpack(mapping_index)
bowtie2_index_fasta = unpack(mapping_index)
bowtie2_index_log = "02-Mapping/{REF}/bowtie2/logs/bowtie2_{REF}_indexing.log"
bowtie2_index_log = "02-Mapping/{REF}/bowtie2/logs/bowtie2_{REF}_indexing.log"
bowtie2_index_output_done = os.path.join(config["genome"]["genome_directory"]
+
"{REF}/bowtie2/{REF}.1.bt2")
bowtie2_index_output_done = os.path.join(config["genome"]["genome_directory"]
,
"{REF}/bowtie2/{REF}.1.bt2")
bowtie2_index_output_prefix = os.path.join(config["genome"]["genome_directory"]
+
"{REF}/bowtie2/{REF}")
bowtie2_index_output_prefix = os.path.join(config["genome"]["genome_directory"]
,
"{REF}/bowtie2/{REF}")
include: os.path.join(RULES, "bowtie2_index.rules")
include: os.path.join(RULES, "bowtie2_index.rules")
...
@@ -212,8 +212,8 @@ if config["star_mapping"]["do"]:
...
@@ -212,8 +212,8 @@ if config["star_mapping"]["do"]:
star_index_fasta = unpack(mapping_index)
star_index_fasta = unpack(mapping_index)
star_mapping_splice_file = unpack(annot_index)
star_mapping_splice_file = unpack(annot_index)
star_index_log = "02-Mapping/{REF}/STAR/logs/STAR_{REF}_indexing.log"
star_index_log = "02-Mapping/{REF}/STAR/logs/STAR_{REF}_indexing.log"
star_index_output_done = os.path.join(config["genome"]["genome_directory"], "
/
{REF}/STAR/SAindex")
star_index_output_done = os.path.join(config["genome"]["genome_directory"], "{REF}/STAR/SAindex")
star_index_output_dir = os.path.join(config["genome"]["genome_directory"], "
/
{REF}/STAR/")
star_index_output_dir = os.path.join(config["genome"]["genome_directory"], "{REF}/STAR/")
include: os.path.join(RULES, "star_index.rules")
include: os.path.join(RULES, "star_index.rules")
...
...
This diff is collapsed.
Click to expand it.
config/config.yaml
+
13
−
11
View file @
da795e69
...
@@ -53,17 +53,18 @@ tmpdir: "/pasteur/sonic/scratch/public/"
...
@@ -53,17 +53,18 @@ tmpdir: "/pasteur/sonic/scratch/public/"
# - rRNA_mapping: Mapping on ribosomal RNA
# - rRNA_mapping: Mapping on ribosomal RNA
#===============================================================================
#===============================================================================
genome
:
genome
:
genome_directory
:
../g
enome
/
genome_directory
:
/pasteur/zeus/projets/p01/BioIT/G
enome
s
name
:
saccer3
name
:
Rabies
fasta_file
:
../genome/saccer3/saccer3
.fa
fasta_file
:
/pasteur/zeus/projets/p01/BioIT/Genomes/Rabies/Rabies
.fa
gff_file
:
../genome/saccer3/saccer3
.gff
gff_file
:
/pasteur/zeus/projets/p01/BioIT/Genomes/Rabies/Rabies
.gff
host_mapping
:
true
host_mapping
:
true
host_name
:
hg38
host_name
:
hg38
host_fasta_file
:
../g
enome/hg38/hg38.fa
host_fasta_file
:
/pasteur/zeus/projets/p01/BioIT/G
enome
s
/hg38/hg38.fa
host_gff_file
:
../g
enome/hg38/hg38.gff
host_gff_file
:
/pasteur/zeus/projets/p01/BioIT/G
enome
s
/hg38/hg38.gff
rRNA_mapping
:
true
rRNA_mapping
:
true
ribo_fasta_file
:
../g
enome/hg38/hg38_rRNA.fa
ribo_fasta_file
:
/pasteur/zeus/projets/p01/BioIT/G
enome
s
/hg38/hg38_rRNA.fa
#===============================================================================
#===============================================================================
# FastQC section
# FastQC section
...
@@ -156,11 +157,12 @@ star_mapping:
...
@@ -156,11 +157,12 @@ star_mapping:
pseudomapping
:
pseudomapping
:
do
:
yes
do
:
yes
fasta
:
../g
enome/hg38/hg38.fa
fasta
:
/pasteur/zeus/projets/p01/BioIT/G
enome
s
/hg38/hg38
_cDNA
.fa
gtf
:
../g
enome/hg38/hg38.g
f
f
gtf
:
/pasteur/zeus/projets/p01/BioIT/G
enome
s
/hg38/hg38.g
t
f
options
:
"
"
options
:
"
--single
"
kmer
:
31
kmer
:
31
threads
:
4
threads
:
12
#############################################################################
#############################################################################
# feature_counts used to count reads against features
# feature_counts used to count reads against features
...
...
This diff is collapsed.
Click to expand it.
workflow/rules/cutadapt.rules
+
1
−
1
View file @
da795e69
...
@@ -55,7 +55,7 @@ rule cutadapt:
...
@@ -55,7 +55,7 @@ rule cutadapt:
outfiles=($tmp)
outfiles=($tmp)
# add mode and adapter sequences
# add mode and adapter sequences
cmd+=" cutadapt -{params.mode} {params.adapters} -m {params.min} -q {params.qual} {params.options} "
cmd+=" cutadapt -{params.mode} {params.adapters} -m {params.min} -q {params.qual} {params.options}
-j {threads}
"
# paired end or single end
# paired end or single end
if [[ ${{#infiles[@]}} -eq 2 ]];
if [[ ${{#infiles[@]}} -eq 2 ]];
then
then
...
...
This diff is collapsed.
Click to expand it.
workflow/rules/sortmerna.rules
+
5
−
1
View file @
da795e69
...
@@ -32,6 +32,7 @@ rule sortmerna:
...
@@ -32,6 +32,7 @@ rule sortmerna:
no_rRNA = temp(sortmerna_outfile_no_rRNA)
no_rRNA = temp(sortmerna_outfile_no_rRNA)
singularity:
singularity:
"rnaflow.img"
"rnaflow.img"
shadow: "shallow"
log:
log:
err = sortmerna_logs_err,
err = sortmerna_logs_err,
out = sortmerna_logs_out
out = sortmerna_logs_out
...
@@ -52,7 +53,10 @@ rule sortmerna:
...
@@ -52,7 +53,10 @@ rule sortmerna:
fi
fi
sortmerna --ref ${{fasta}},${{index}} -a {threads} --reads {input.fastq} --aligned {output.rRNA} --fastx
--sam --num_alignments 1
--other {output.no_rRNA} --log -v > {log.out} 2> {log.err}
sortmerna --ref ${{fasta}},${{index}} -a {threads} --reads {input.fastq} --aligned {output.rRNA} --fastx --other {output.no_rRNA} --log -v > {log.out} 2> {log.err}
mv {output.no_rRNA}.fastq {output.no_rRNA}
mv {output.rRNA}.fastq {output.rRNA}
"""
"""
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment