

set -ex



excel2xml_dra -a example -i 0001 -p PRJDB7252  ${XDG_DATA_HOME}/submission-excel2xml/example/example-0001_dra_metadata.xlsx && validate_meta_dra -a example -i 0001
excel2xml_dra -a example -i 0002 -p PRJDB7252 -c "National Institute of Genetics" ${XDG_DATA_HOME}/submission-excel2xml/example/example-0002_dra_metadata.xlsx && validate_meta_dra -a example -i 0002
excel2xml_jga -j JSUB999999 ${XDG_DATA_HOME}/submission-excel2xml/example/JSUB999999_jga_metadata.xlsx && validate_meta_jga -j JSUB999999
exit 0
