Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
edna
snakemake_only_obitools
Commits
0d071c30
Commit
0d071c30
authored
Dec 02, 2019
by
peguerin
Browse files
format main script
parent
4989d3dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.sh
View file @
0d071c30
###############################################################################
## Here, we reproduce the bioinformatics workflow used by SPYGEN
## We improve its performance by adding parallelization and containerazition features.
##
## This workflow generates species environmental presence from raw eDNA data.
##
## This workflow use the workflow management system SNAKEMAKE.
##
##
## Author : GUERIN Pierre-Edouard
## Montpellier 2019-2020
##
###############################################################################
## Usage:
## bash main.sh
##
##
###############################################################################
###############################################################################
## assemble & demultiplex
cd
01-assembly
snakemake
-s
Snakefile
-j
8
--use-singularity
--singularity-args
"--bind /media/superdisk:/media/superdisk"
--latency-wait
120
cd
..
###############################################################################
## filter sequences
cd
02-demultiplex
snakemake
-s
Snakefile
-j
8
--dry-run
--use-singularity
--singularity-args
"--bind /media/superdisk:/media/superdisk"
--latency-wait
120
snakemake
-s
Snakefile
-j
8
--use-singularity
--singularity-args
"--bind /media/superdisk:/media/superdisk"
--latency-wait
120
cd
..
###############################################################################
## concatenate samples into run
for
run
in
`
ls
02-demultiplex/03-cleaned/
`
;
do
cat
02-demultiplex/03-cleaned/
${
run
}
/
*
.c.r.l.u.fasta
>
03-filtered/01-runs/
${
run
}
_run.fasta
;
done
###############################################################################
## taxonomic assignation & format
cd
03-filtered
snakemake
-s
Snakefile
-j
8
--dry-run
--use-singularity
--singularity-args
"--bind /media/superdisk:/media/superdisk"
--latency-wait
120
#snakemake -s Snakefile -j 8 --dry-run --use-singularity --singularity-args "--bind /media/superdisk:/media/superdisk" --latency-wait 120
snakemake
-s
Snakefile
-j
8
--use-singularity
--singularity-args
"--bind /media/superdisk:/media/superdisk"
--latency-wait
120
cd
..
###############################################################################
## clean
snakemake
-s
Snakefile
--delete-all-output
--dry-run
snakemake
-s
Snakefile
--delete-all-output
#
snakemake -s Snakefile --delete-all-output --dry-run
#
snakemake -s Snakefile --delete-all-output
Write
Preview
Markdown
is supported
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