Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Extended Microorganisms Taxonomy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Monitor
Incidents
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Omnicrobe
Extended Microorganisms Taxonomy
Commits
1e8e026e
Commit
1e8e026e
authored
3 years ago
by
Robert Bossy
Browse files
Options
Downloads
Patches
Plain Diff
NCBI Taxonomy download snakefile
parent
81a9aa77
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
config.yaml
+7
-4
7 additions, 4 deletions
config.yaml
dsmz-match.snakefile
+0
-1
0 additions, 1 deletion
dsmz-match.snakefile
ncbi-download.snakefile
+19
-0
19 additions, 0 deletions
ncbi-download.snakefile
with
26 additions
and
5 deletions
config.yaml
+
7
−
4
View file @
1e8e026e
...
...
@@ -8,12 +8,15 @@ ALVISNLP: '~/code/alvisnlp/.test/alvisnlp/bin/alvisnlp'
REWRITE_TAXONOMY
:
'
~/code/bibliome-java-utils/test/install/bin/rewrite-taxonomy'
# NCBI Taxonomy files
NCBI_DIR
:
'
ncbi-taxonomy_2021-03-26'
# Output and working directories
OUTDIR
:
'
test'
DSMZ_STRAINS_DIR
:
'
dsmz-strains'
DSMZ_MATCH_DIR
:
'
dsmz-match'
NCBI_DIR
:
'
ncbi-taxonomy'
NCBI_ZIP_URL
:
'
https://ftp.ncbi.nlm.nih.gov/pub/taxonomy/taxdmp.zip'
This diff is collapsed.
Click to expand it.
dsmz-match.snakefile
+
0
−
1
View file @
1e8e026e
configfile: 'config.yaml'
import glob
rule match:
'''
...
...
This diff is collapsed.
Click to expand it.
ncbi-download.snakefile
0 → 100644
+
19
−
0
View file @
1e8e026e
configfile: 'config.yaml'
rule unzip:
output:
config['OUTDIR'] + '/' + config['NCBI_DIR'] + '/nodes.dmp'
input:
config['OUTDIR'] + '/' + config['NCBI_DIR'] + '/taxdmp.zip'
shell:
'''unzip -d {config[OUTDIR]}/{config[NCBI_DIR]} {input}'''
rule download:
output:
config['OUTDIR'] + '/' + config['NCBI_DIR'] + '/taxdmp.zip'
shell:
'''curl -o {output} '{config[NCBI_ZIP_URL]}' '''
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