cd /nfs/production/tburdett/workstreams/fairification/checklists
mkdir [sw,data]
export PYTHONHOME=/hps/software/jupyterhub
export PATH=$PATH:$PYTHONHOME/bin
python --version
cd sw
python -mvenv .venv
cd -
. .venv/bin/activate
# get webin username and password into ENA_USER and ENA_PASSWORD variables in .env file
. .env
clone scripts
cd /nfs/production/tburdett/workstreams/fairification/checklists
git clone https://github.com/ebi-ait/checklist-converter.git
get xmls
If running for the first time, run the script to get the xmls from ENA, otherwise, just copy from the previous run directory. This step can be skipped if nothing is changed in the ENA documents or validation since the previous run.
cd checklist-converter
cut -f2 -d, data/accessions.csv | tail -n+2 | xargs -n1 -t python src/retrieve_xml_from_bsd_accession.py -o /nfs/production/tburdett/workstreams/fairification/checklists/data/run001/xmls/ -a
get jsons
If running for the first time, run the script to get the jsons from ENA, otherwise, just copy from the previous run directory.
setup python
clone scripts
get xmls
If running for the first time, run the script to get the xmls from ENA, otherwise, just copy from the previous run directory. This step can be skipped if nothing is changed in the ENA documents or validation since the previous run.
get jsons
If running for the first time, run the script to get the jsons from ENA, otherwise, just copy from the previous run directory.
validate using ena xml validation
validate using biovalidator
use
src/validate_biovalidator.py
In one window (on the local computer):Get your external IP address (usually
10.x.y.z
) usingifconfig
.in another window (in codon cluster):
compare results
run 001
check results of ena xml validation
Skip this step if this run involves only changes in json validation.
An exception occurred: Cannot invoke "String.split(String)" because "tagValue" is null
Comparison:
json validation