aboutsummaryrefslogtreecommitdiff
path: root/workflows/pull-data
diff options
context:
space:
mode:
authorPjotr Prins2021-01-05 09:34:26 +0000
committerPjotr Prins2021-01-05 09:34:26 +0000
commit9d75ce088e6388bf23ae077fd06b2a3f51be1bda (patch)
tree81a4491ca0dd37b458025cc7aa3e553a77b0fb30 /workflows/pull-data
parent3c09a92423408d01b64e1b842c6b96778939d098 (diff)
downloadbh20-seq-resource-9d75ce088e6388bf23ae077fd06b2a3f51be1bda.tar.gz
bh20-seq-resource-9d75ce088e6388bf23ae077fd06b2a3f51be1bda.tar.lz
bh20-seq-resource-9d75ce088e6388bf23ae077fd06b2a3f51be1bda.zip
API: fix returned record to include original metadata
Diffstat (limited to 'workflows/pull-data')
-rw-r--r--workflows/pull-data/genbank/README.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/workflows/pull-data/genbank/README.md b/workflows/pull-data/genbank/README.md
index 5464d1d..188ff6f 100644
--- a/workflows/pull-data/genbank/README.md
+++ b/workflows/pull-data/genbank/README.md
@@ -11,7 +11,8 @@ The following workflow sends GenBank data into PubSeq
```sh
# --- get list of IDs already in PubSeq
-../../tools/sparql-fetch-ids > pubseq_ids.txt
+../../tools/pubseq-fetch-ids > pubseq_ids.txt
+
# --- get list of missing genbank IDs
python3 genbank-fetch-ids.py --skip pubseq_ids.txt > genbank_ids.txt
@@ -26,6 +27,13 @@ python3 ../../workflows/tools/normalize-yamlfa.py -s ~/tmp/yamlfa/state.json --s
```
+## Validate GenBank data
+
+To pull the data from PubSeq use the list of pubseq ids generated
+above.
+
+
+
# TODO
-- [ ] Add id for GenBank accession - i.e. how can we tell a record is from GenBank
+- [X] Add id for GenBank accession - i.e. how can we tell a record is from GenBank