Skip to content

Commit

Permalink
Merge pull request #15 from kbase/example-scripts
Browse files Browse the repository at this point in the history
Added some example scripts.
  • Loading branch information
jeff-cohere authored Oct 30, 2024
2 parents b5ff7df + daf47d9 commit 730828c
Show file tree
Hide file tree
Showing 5 changed files with 382 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Example scripts

* [filter_on_taxon_id.py](https://github.com/kbase/dtspy/blob/main/docs/examples/filter_on_taxon_oid.py)

This script searches for files in the JGI Data Portal related to a given IMG
taxon OID, printing metadata for any results.

* [match_files_to_ids_in_spreadsheet.py](https://github.com/kbase/dtspy/blob/main/docs/examples/match_files_to_ids_in_spreadsheet.py)

This script extracts identifiers from a [spreadsheet](https://github.com/kbase/dtspy/blob/main/docs/examples/IMG.csv),
searches for related files, and writes another spreadsheet with relavent
filenames and identifier information.
Loading

0 comments on commit 730828c

Please sign in to comment.