Skip to content

Commit

Permalink
Move fetch_sequences.smk to fetch_from_ncbi.smk
Browse files Browse the repository at this point in the history
This is a more accurate name for the rule, since it fetches from NCBI and
matches the pathogen-repo-template/ingest/ncbi_fetch_sequences.smk rule.
  • Loading branch information
j23414 committed Jan 30, 2024
1 parent c0b9a6d commit ad34fa3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ingest/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ rule all:
_get_all_targets,


include: "rules/fetch_sequences.smk"
include: "rules/fetch_from_ncbi.smk"
include: "rules/transform.smk"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ defined in the config. If adding other sources, add a new rule upstream
of rule `fetch_all_sequences` to create the file `data/{source}.ndjson` or the
file must exist as a static file in the repo.
Fetch with NCBI Datasets (https://www.ncbi.nlm.nih.gov/datasets/)
- requires `ncbi_taxon_id` config
- Only returns metadata fields that are available through NCBI Datasets
Produces final output as
sequences_ndjson = "data/sequences.ndjson"
Expand Down

0 comments on commit ad34fa3

Please sign in to comment.