Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
popinSnake
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
FONDA_A6
popinSnake
Commits
77aeb7c4
There was an error fetching the commit references. Please try again later.
Commit
77aeb7c4
authored
4 months ago
by
Kedi Cao
Browse files
Options
Downloads
Patches
Plain Diff
fix path for kraken_db specification
parent
d8839d96
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
snake_config.yaml
+1
-1
1 addition, 1 deletion
snake_config.yaml
snakemodules/download_krakendb.smk
+7
-7
7 additions, 7 deletions
snakemodules/download_krakendb.smk
snakemodules/kraken.smk
+1
-6
1 addition, 6 deletions
snakemodules/kraken.smk
with
9 additions
and
14 deletions
snake_config.yaml
+
1
−
1
View file @
77aeb7c4
...
...
@@ -28,7 +28,7 @@ SICKLE:
ASSEMBLER
:
"
minia"
ANALYSIS
:
"
yes
"
"
no
"
### Define contamination removal module
remove_contamination
:
...
...
This diff is collapsed.
Click to expand it.
snakemodules/download_krakendb.smk
+
7
−
7
View file @
77aeb7c4
...
...
@@ -3,14 +3,14 @@ if config["install_kraken_db"] == "yes" :
rule install_kraken_db:
output:
directory(f"{
MYPATH}/example_data/
kraken_db")
directory(f"{kraken_db
_path}
")
shell:
"""
mkdir -p {
MYPATH}/example_data/
kraken_db;
wget {kraken_lib} -O {
MYPATH}/example_data/
kraken_db/kraken_db.tar.gz;
tar -xzvf {
MYPATH}/example_data/
kraken_db/kraken_db.tar.gz -C {
MYPATH}/example_data/
kraken_db/;
rm {
MYPATH}/example_data/
kraken_db/kraken_db.tar.gz;
mkdir -p {kraken_db
_path}
;
wget {kraken_lib} -O {kraken_db
_path}
/kraken_db.tar.gz;
tar -xzvf {kraken_db
_path}
/kraken_db.tar.gz -C {kraken_db
_path}
/;
rm {kraken_db
_path}
/kraken_db.tar.gz;
"""
else:
print(f"check if kraken_db already exists in {MYPATH}/example_data/kraken_db")
kraken_db_path = f"{MYPATH}/example_data/kraken_db"
\ No newline at end of file
print(f"check if kraken_db already exists in {kraken_db_path}")
kraken_db_path = f"{kraken_db_path}"
This diff is collapsed.
Click to expand it.
snakemodules/kraken.smk
+
1
−
6
View file @
77aeb7c4
...
...
@@ -9,7 +9,7 @@
rule kraken_map:
input:
directory(f"{
MYPATH}/example_data/
kraken_db"),
directory(f"{kraken_db
_path}
"),
fq = WORK_DIR + "/{sample}/single.fastq",
p1 = WORK_DIR + "/{sample}/paired.1.fastq",
p2 = WORK_DIR + "/{sample}/paired.2.fastq"
...
...
@@ -91,11 +91,6 @@ rule index_ref:
f"{ALTREF}.bwt",
f"{ALTREF}.pac",
f"{ALTREF}.sa"
# "example_data/chr21_remap.fa.amb",
# "example_data/chr21_remap.fa.ann",
# "example_data/chr21_remap.fa.bwt",
# "example_data/chr21_remap.fa.pac",
# "example_data/chr21_remap.fa.sa"
conda:
"envs/bwa.yml"
log:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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