A package of command-line programs is provided to assist in submitting LRGASP. Participants are required to validate their files in an entry before submitting.
The code is installable from the PyPi lrgasp-tools package, and the source is available on from the GitHub LRGASP-submissions repository.
If there are problems, please create a ticket on GitHub.
If there is a program failure, run with --logDebug
to report errors.
Python 3.7 or greater is required to run lrgasp-tools. The recommended method for installation is using a virtual environment. Here is an example of a typical installation:
python3 -m virtualenv lrgasp-env
source ./lrgasp-env/bin/activate
pip install lrgasp-tools
If you do not have the virtualenv
package, either pip install it or use the
venv
package that is part of Python 3.
python3 -m venv lrgasp-env
Note that venv
maybe significantly slower in creating the environment than
virtualenv
`.
Programs are provided to validate each of the required files independently. These only check the syntax of the files and are intended to allow for quick validation during development. Another tool does complete checking of an entry, including file syntax validation and relationships between files.
lrgasp-validate-models
- validate a models.gtf.gz
filelrgasp-validate-de-novo-rna
- validate a rna.fasta.gz
file.lrgasp-validate-read-model-map
- validate a read_model_map.tsv.gz
file, optionally checking against a model GTF or de novo RNA fasta.
--models_gtf
, --rna_fasta
lrgasp-validate-expression-matrix
- validate an expression.tsv.gz
file, optionally checking against a model GTF
--models_gtf
lrgasp-validate-experiment-metadata
- validate an experiment.json
metadata filelrgasp-validate-entry-metadata
- validate an entry.json
metadata filelrgasp-validate-entry
- validate a full entry given a populated entry directory, optionally skipping data validation
to speed up initial consistency checks.
--metadata_only
These tools are provide to assist submission of entries to LRGASP challenges to Synapse. See Uploading to Synapse and submitting to LRGASP for details on the submission process.
lrgasp-upload-entry
- uploads updates one or more LRGASP entries metadata and data to the participates private project.
This does not submit the entry for evaluation, which must be done in a separate step.lrgasp-synapse-download
- download file hierarchies from Synapse. While mainly intended for LRGASP organizers,
this may also be used by participates to download their entries if they need to review them.