Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GeVarLi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TRANSVIHMI
nfernandez
GeVarLi
Commits
131ad259
Commit
131ad259
authored
3 months ago
by
nicolas.fernandez_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
Fix: remove old KeyError path
parent
80362f8f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#75930
passed
3 months ago
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Run_GeVarLi.sh
+4
-5
4 additions, 5 deletions
Run_GeVarLi.sh
workflow/Snakefile
+2
-5
2 additions, 5 deletions
workflow/Snakefile
with
6 additions
and
10 deletions
Run_GeVarLi.sh
+
4
−
5
View file @
131ad259
...
...
@@ -182,9 +182,9 @@ else # If not, create it.
echo
-e
"
${
ylo
}
Workflow-Core
${
nc
}
conda environment will be create, with:
>
${
red
}
Snakemake
${
nc
}
${
blue
}
___
workflow manager
${
nc
}
>
${
red
}
Yq
${
nc
}
${
blue
}
__________
yaml parser
${
nc
}
>
${
red
}
GraphViz
${
nc
}
${
blue
}
____
drawing graph
${
nc
}
>
${
red
}
Snakemake
${
nc
}
(
workflow manager
)
>
${
red
}
Yq
${
nc
}
(
yaml parser
)
>
${
red
}
GraphViz
${
nc
}
(
drawing graph
)
"
conda
env
create
--file
${
workdir
}
/workflow/envs/workflow-core.yaml
>
/dev/null 2>&1
fi
...
...
@@ -192,7 +192,7 @@ fi
echo
-e
"
You can remove old depreciated environements such as: 'gevarli-base', 'snakemake-base' or 'workflow-base'.
To list all your conda environments, you can run: '
${
ylo
}
conda env list
${
nc
}
'.
To remove old conda environments, you can run: '
${
ylo
}
conda remove --all --yes --name
<ENV_NAME>
${
nc
}
'.
To remove old conda environments, you can run: '
${
ylo
}
conda remove --all --yes --name
${
nc
}
${
red
}
<ENV_NAME>
${
nc
}
'.
"
# Active workflow-core conda environment.
...
...
@@ -440,7 +440,6 @@ snakemake \
--directory
${
workdir
}
/
\
--snakefile
${
workdir
}
/workflow/Snakefile
\
--cores
${
max_threads
}
\
--max-threads
${
max_threads
}
\
--resources
mem_gb
=
${
max_memory
}
\
--rerun-incomplete
\
--keep-going
\
...
...
This diff is collapsed.
Click to expand it.
workflow/Snakefile
+
2
−
5
View file @
131ad259
...
...
@@ -14,7 +14,7 @@
# Aim ____________________ Snakefile with GeVarLi rules
# Date ___________________ 2021.10.12
# Latest modifications ___ 2025.01.08 (Prepare for Snakedeploy)
# Use ____________________ snakemake -s Snakemake --use-conda
# Use ____________________ snakemake -s Snakemake --use-conda
-j
###############################################################################
### CONFIGURATION ###
...
...
@@ -207,11 +207,11 @@ KMER_SIZE = config["minimap2"]["algorithm"]["k-mer_size"] # MM2 k-mer s
MINIMIZER_SIZE = config["minimap2"]["algorithm"]["minimizer_size"] # MM2 minimizer window size
SPLIT_SIZE = config["minimap2"]["algorithm"]["split_size"] # MM2 split index
#HOMOPOLYMER = config["minimap2"]["algorithm"]["homopolymer"] # MM2 if PacBio
BWA_ALGO = config["bwa"]["algorithm"] # BWA indexing algorithm
BT2_ALGO = config["bowtie2"]["algorithm"] # BT2 indexing algorithm
REFERENCE = config["consensus"]["reference"] # Genome reference sequence, in fasta format
REF_PATH = config["consensus"]["path"] # Path to genomes references
MIN_COV = config["consensus"]["min_cov"] # Minimum coverage, mask lower regions with 'N'
IUPAC = config["consensus"]["iupac"] # Output variants in the form of IUPAC ambiguity codes
ALIGNER = config["consensus"]["aligner"] # Aligner ('minimap2', 'bwa' or 'bowtie2')
...
...
@@ -228,7 +228,6 @@ SIC_ENCODING = config["sickle_trim"]["encoding"] # Sickle-trim --qual-type
SIC_QUALITY = config["sickle_trim"]["quality"] # Sickle-trim --qual-threshold
SIC_LENGTH = config["sickle_trim"]["length"] # Sickle-trim --length-treshold
MM2_PATH = config["minimap2"]["path"] # Minimpa2 path to indexes
MM2_PRESET = config["minimap2"]["preset"] # Minimap2 preset
#MM2_LENGTH = config["minimap2"]["length"] # Minimap2 length
#MM2_KMER_SIZE = config["minimap2"]["algorithm"]["k-mer_size"] # Minimap2 k-mer size
...
...
@@ -236,10 +235,8 @@ MM2_PRESET = config["minimap2"]["preset"] # Minimap2 preset
#MM2_SPLIT_SIZE = config["minimap2"]["algorithm"]["split_size"] # Minimap2 split index
#MM2_HOMOPOLYMER = config["minimap2"]["algorithm"]["homopolymer"] # Minimap2 for PacBio
BWA_PATH = config["bwa"]["path"] # BWA path to indexes
BWA_ALGO = config["bwa"]["algorithm"] # BWA indexing algorithm
BT2_PATH = config["bowtie2"]["path"] # Bowtie2 path to indexes
BT2_ALGO = config["bowtie2"]["algorithm"] # Bowtie2 indexing algorithm
BT2_SENSITIVITY = config["bowtie2"]["sensitivity"] # Bowtie2 sensitivity preset
...
...
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