2021-04-01 16:12:14 +00:00
|
|
|
# StarLIMS Data Pull
|
|
|
|
|
2021-04-13 19:55:29 +00:00
|
|
|
Pulls positive SC2 sample IDs and relevant dates from StarLIMS.
|
2021-04-01 16:12:14 +00:00
|
|
|
|
2021-04-13 19:55:29 +00:00
|
|
|
**NOTE:** These scripts are encrypted, but are generally intended for use on
|
|
|
|
Windows machines. Decrypt them on a Linux/Mac machine using the [entire repo
|
2021-04-29 01:27:56 +00:00
|
|
|
instructions](https://github.com/MillironX/sc2-sequencing/blob/master/README.md),
|
2021-04-13 19:55:29 +00:00
|
|
|
then copy over using a secure flash drive or similar method.
|
2021-04-01 16:12:14 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Double-click `refresh-lims-data.bat` in any location.
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2021-04-13 19:55:29 +00:00
|
|
|
This script requires
|
|
|
|
[Miniconda](https://conda.io/en/master/miniconda.html#windows-installers).
|
2021-04-01 16:12:14 +00:00
|
|
|
|
|
|
|
1. Download and install Miniconda
|
|
|
|
1. Select "Just Me" when asked who to install for
|
|
|
|
2. All other default options will work
|
|
|
|
2. Press `Win+R`, type `%USERPROFILE%` and press Enter
|
|
|
|
3. Create a new folder called `limsdatapull`
|
2021-04-01 16:23:31 +00:00
|
|
|
4. Copy all of the decrypted files to `limsdatapull`
|
|
|
|
5. Open Anaconda console (not PowerShell) from the Start Menu
|
2021-04-13 19:55:29 +00:00
|
|
|
6. Run `conda create -n limsdatapull -f
|
|
|
|
%USERPROFILE%\limsdatapull\limsdatapull.yaml`
|
2021-04-01 16:23:31 +00:00
|
|
|
7. Answer `y` to all the prompts
|
|
|
|
8. Close the console
|
|
|
|
9. (Optional) Copy `refresh-lims-data.bat` to the Desktop
|
|
|
|
10. (Optional) Set up a scheduled task to run `refresh-lims-data.bat` regularly
|
|
|
|
|
2021-04-13 19:55:29 +00:00
|
|
|
When `refresh-lims-data.bat` is run, a new file called `SequenceDatabase.xlsx`
|
|
|
|
will be added to `limsdatapull`. This file can be referenced by other
|
|
|
|
spreadsheets for efficient and timely lookup data from StarLIMS.
|