Helpers scripts¶
How to simulate NGS Dataset transfer from GeneCore¶
Use this following script (call from the <path-to>/labid-server-root/labid-server/).
DJANGO_SECRET_KEY=x DJANGO_SETTINGS_MODULE="labid_server.settings.base" PYTHONPATH=$PWD ./scripts/assays/register.py --owner <user> --volume /tmp --nr_of_datasets 2 --flowcell hoi-1 --lane 1 --runtype paired-end --multiplexed True --demultiplexed True
Make sure to:
- replace the
--owner <user>with a user existing in your local installation - adapt options
--nr_of_datasets 2 --flowcell xyz --lane 1 --runtype paired-end --multiplexed True --demultiplexed Trueto reflect your needs - change the
--flowcellvalue at each call to make it unique as this is a constraint of the database i.e. UNIQUE (group,flowcell,lane)
Note that by default /tmp should be a volume existing in your local installation, if not create it using the Admin UI (LINK_TO_BE_ADDED).