Skip to content

Commit

Permalink
Merge pull request #27 from microbiomedata/refactor_metap_agg
Browse files Browse the repository at this point in the history
Refactor metaproteomics aggregation script
  • Loading branch information
aclum authored Dec 3, 2024
2 parents 3e49833 + a0c81df commit b466213
Show file tree
Hide file tree
Showing 3 changed files with 423 additions and 163 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ Now that the container image is hosted there, you can configure a Spin workload
- `POLL_TIME`: Number of seconds to sleep between each run (Default: `14400`, which is 4 hours)
- `NMDC_BASE_URL`: Base URL to access the data (Default: `https://data.microbiomedata.org/data`)
- `NMDC_BASE_PATH`: Base path to the data on disk (Default: `/global/cfs/cdirs/m3408/results`)
- `NMDC_CLIENT_ID`: Client ID for interacting with NMDC's runtime API
- `NMDC_CLIENT_PW`: Password for interacting with NMDC's runtime API
- `NMDC_API_URL`: Base url for NMCD runtime API (Default: `https://api-dev.microbiomedata.org`, which is the dev url)

## Release Notes

Expand Down
2 changes: 1 addition & 1 deletion agg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi
while true ; do
date |tee -a $LOG_FILE
python -m generate_functional_agg |tee -a $LOG_FILE
python -m generate_metap_agg |tee -a $LOG_FILE
python -m generate_metap_agg 2>&1 |tee -a $LOG_FILE
echo "Sleeping $POLL_TIME"
sleep $POLL_TIME
done
Loading

0 comments on commit b466213

Please sign in to comment.