The action that will register sample accessions in ENA. Input to this comes from
- The files in the batches folders
- The checklist translations
- Project and umbrella ENA accession numbers from https://github.com/emo-bon/governance-data/blob/main/observatories.csv
- Transformed logsheets found in each separate observatory crate
The action creates XML files which are then uploaded to ENA, returning sample accession numbers, which are then put back into the relevant files in the batches folders. The code that sits behind this is called action.py
LOCAL RUN
Build docker:
sudo docker build -t emobon-ena-register .Prepare ENV:
export GITHUB_WORKSPACE="$(pwd)/ena-test"
export USERNAME="XXXXXX"
export PASSWORD="XXXXXX"Run:
docker run --rm -e USERNAME="$USERNAME" -e PASSWORD="$PASSWORD" -e GITHUB_WORKSPACE=/github/workspace -v "$(pwd)/ena-test:/github/workspace" emobon-ena-register 2>&1 | tee ena-dev.log