-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use catalog and catalog-build to hold the data and build fi…
- Loading branch information
Showing
27 changed files
with
151,721 additions
and
91,755 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 |
---|---|---|
|
@@ -8,6 +8,7 @@ coverage | |
# next.js | ||
.next | ||
out | ||
catalog | ||
|
||
# production | ||
build | ||
|
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 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,4 @@ | ||
|
||
# Catalog input files | ||
unprocessed_files/* | ||
!unprocessed_files/.gitkeep |
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,38 @@ | ||
|
||
|
||
## Building the catalog-build/source Files | ||
|
||
The raw sequencing, assemblies, and annotations source files are generated through Python scripts. | ||
|
||
To create a virtual environment and install the required libraries, use the following commands from the root project directory: | ||
|
||
```shell | ||
python3 -m venv ./venv | ||
source ./venv/bin/activate | ||
pip install -r catalog-build/requirements.txt | ||
``` | ||
|
||
Then run the scripts from this directory with: | ||
```shell | ||
python3 build-sequencing-data.py | ||
python3 build-assemblies.py | ||
python3 build-annotations.py | ||
``` | ||
|
||
|
||
This can also be accomplshed by running | ||
```shell | ||
npm run build-catalog-source | ||
``` | ||
|
||
The environment can be deactivated by running `deactivate`, and re-activated by running `source ./venv/bin/activate` | ||
again. | ||
|
||
## Building the Catalog Files | ||
|
||
Once the source files are generated, you can build the /catalog files with: | ||
|
||
```shell | ||
npm run build-catalog | ||
``` | ||
|
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 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 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
10 changes: 8 additions & 2 deletions
10
files/build-raw-sequencing-files.py → catalog-build/build-sequencing-data.py
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
File renamed without changes.
File renamed without changes.
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,4 @@ | ||
numpy==2.0.1 | ||
pandas==2.2.2 | ||
requests==2.32.3 | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.