-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated the example directory (#337)
* updated the example directory * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
e8a4a91
commit 77fab34
Showing
5 changed files
with
44 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import os | ||
import os.path as osp | ||
import pathlib | ||
import shutil | ||
import time | ||
|
||
import numpy as np | ||
|
||
import geneplexus | ||
|
||
# Set up data directory | ||
homedir = pathlib.Path(__file__).absolute().parent | ||
datadir = osp.join(homedir, "data") | ||
os.makedirs(datadir, exist_ok=True) | ||
|
||
|
||
""" | ||
each file is separated by the species. Can select all by using | ||
species = ["Human", "Mouse", "Fly", "Worm", "Zebrafish", "Yeast"] | ||
or | ||
species = "All" | ||
for a subset just include desired species (example for just Mouse and Human) | ||
species = ["Human", "Mouse"] | ||
""" | ||
|
||
geneplexus.download.download_select_data( | ||
datadir, | ||
species=["Human", "Mouse", "Fly", "Worm", "Zebrafish", "Yeast"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters