https://github.com/clinical-genomics/cglims
LIMS interface for the specific usage at Clinical Genomics
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.2%) to scientific vocabulary
Repository
LIMS interface for the specific usage at Clinical Genomics
Basic Info
- Host: GitHub
- Owner: Clinical-Genomics
- Language: Python
- Default Branch: master
- Size: 128 KB
Statistics
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 5
- Releases: 0
Metadata Files
README.md
CGLims 
cglims is a tool to interface with our instance of Genologics Clarity LIMS.
Background
We have an instance of Clarity LIMS that we mainly use for tracking lab work. However, this is the true source of information for all samples. We use the information extensively also in the downstream bioinformatics tools.
Therefore, it's good to have a single interface that implements our internal conventions such as how to mark a sample as cancelled or how to parse the application tag correctly.
We have also found the web interface a little to cumbersome to get and update small pieces of information. Sometimes it's more convenient to be able to do this from the command line or as part of a script. This is what the package is aiming to do.
Documentation
A brief documentation of intended usage.
Installation
You can install cglims from source:
bash
$ git clone https://github.com/Clinical-Genomics/cglims && cd cglims
$ pip install --editable .
You also need a YAML config file describing how to connect to the LIMS instance. It should contain information like this:
```yaml
host: https://genologics.mycompany.com username: apiuser password: somepassword ```
Getting information
You can quickly get information about samples. For a single sample:
```bash $ cglims get --pretty ADM342341
or for an old Clinical Genomics ID
$ cglims get 000043T ```
The --pretty flag will simply print the information in a more readable format.
You can also get information about all samples in a case. For that you need the case id or "
bash
$ cglims get cust003-16105
This will print the same output but for each sample consecutively.
Updating information
It's possible to update a single UDF for a single sample using the CLI. For this you need to use the sample LIMS id - you can't use the old Clinical Genomics ID.
bash
$ cglims update ADM342341 familyID 16106
The tool will print both the old and new value of the field so if you integrate it in a script you will have a log of what has been updated in the LIMS.
Generating pedigree files
You can generate a pedigree file for a family in LIMS. All you need is to supply the customer and family ids.
bash
$ cglims pedigree cust003 16105 > /path/to/16105_pedigree.txt
N.B. If a sample is marked as cancelled (UDF: "cancelled", value: "yes") it will not show up in the pedigree.
Owner
- Name: Clinical Genomics
- Login: Clinical-Genomics
- Kind: organization
- Location: Stockholm, Sweden
- Website: https://clinical-genomics.github.io
- Repositories: 67
- Profile: https://github.com/Clinical-Genomics
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 13
- Total pull requests: 25
- Average time to close issues: 5 months
- Average time to close pull requests: 4 months
- Total issue authors: 5
- Total pull request authors: 5
- Average comments per issue: 0.92
- Average comments per pull request: 1.56
- Merged pull requests: 17
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- ingkebil (3)
- mayabrandi (2)
- robinandeer (1)
- b4ckm4n (1)
- cesve (1)
Pull Request Authors
- ingkebil (11)
- robinandeer (2)
- emiliaol (1)
- Karl-Svard (1)
- emmser (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- coverage * development
- coveralls * development
- pep8 * development
- pyflakes * development
- pytest >=3.6 development
- pytest-cov * development
- pytest-flakes * development
- pytest-flask * development
- pytest-pep8 * development
- PyYAML *
- click <7
- coloredlogs *
- genologics *
- python-dateutil *
- six *