diff options
Diffstat (limited to 'workflows/pull-data/genbank/README.md')
-rw-r--r-- | workflows/pull-data/genbank/README.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/workflows/pull-data/genbank/README.md b/workflows/pull-data/genbank/README.md new file mode 100644 index 0000000..ee67e70 --- /dev/null +++ b/workflows/pull-data/genbank/README.md @@ -0,0 +1,13 @@ +Pipeline: + +```sh +# --- get list of IDs already in PubSeq +sparql-fetch-ids > pubseq_ids.txt +# --- fetch XML +update-from-genbank --skip pubseq_ids.txt --max 100 --outdir ~/tmp/genbank +# --- get new IDs +genbank-fetch-ids --dir ~/tmp/pubseq > genbank_ids.txt +# --- loop through IDs (pseudo code) +for id in genbank_ids.txt: + transform-genbank-xml2yamlfa --dir ~/tmp/genbank id --outdir ~/tmp/pubseq +``` |