plate-planner
Python package to create multi-well plate layouts for specimen sample data. Automatically distributes quality control samples according to scheme in config file.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.0%) to scientific vocabulary
Repository
Python package to create multi-well plate layouts for specimen sample data. Automatically distributes quality control samples according to scheme in config file.
Basic Info
- Host: GitHub
- Owner: ssi-dk
- License: mit
- Language: Python
- Default Branch: main
- Size: 45.2 MB
Statistics
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 3
- Releases: 3
Metadata Files
README.md

- Dynamic QC Sample Patterns: Create plate layouts with customizable QC sample patterns.
- Flexible Sample Distribution: Distribute samples within groups across plates, accommodating variable numbers of samples per group.
- Non-Split/Split Group Handling: Control over distributing samples within groups without splitting them over plates or splitting when necessary.
- Customizable Run Lists & Plate Visualizations: Generate run lists and visualize plate assignments.
- Block Randomization: Perform sample randomizaition or sample block randomization to prevent run order bias.
Installation
To install PlatePlanner, simply run:
console
pip install plate-planner
Documentation
For more detailed documentation, visit PlatePlanner Documentation.
Quick Start Guide
Here's a quick example of how to use PlatePlanner:
```py from plate-planner import Study, QCPlate
Create a study and load your file with sample records (csv, xls/xlsx)
studywithqc = Study(name="cancer") studywithqc.loadspecimenrecords( recordsfile="./data/studysamples.csv", samplegroupidcolumn="pairID", sampleidcolumn="specimen_ID" )
Block randomize groups
studywithqc.randomizeorder(casecontrol=True, reproducible=False)
Distribute samples to a 96-well plate with QC samples as defined in the toml file
qcplate = QCPlate(platedim=(8, 12), QCconfig="./data/plateconfigdynamic.toml") studywithqc.distributesamplestoplates(platelayout=qcplate)
Create visualization for plate 3
fig = studywithqc[2].asfigure( colormetadatakey="organ", annotationmetadatakey="dateof_birth", rotation=45, )
```

```py
mshow distribution of sample attribute across all plates
fig = studywithqc.plotattributeplatedistributions(attribute="organ", normalize=True, pltstyle="fivethirtyeight")
```

Contributing
We welcome contributions to PlatePlanner! Please read our Contributing Guidelines for more information on how to get involved.
License
PlatePlanner is distributed under the terms of the MIT license.
Owner
- Name: Statens Serum Institut
- Login: ssi-dk
- Kind: organization
- Location: Denmark
- Website: https://www.ssi.dk/
- Repositories: 25
- Profile: https://github.com/ssi-dk
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Ljung" given-names: "Filip" orcid: "https://orcid.org/0000-0001-7859-8047" title: "PlatePlanner" version: 0.2.0 url: "https://github.com/ssi-dk/CD-MRG-PlatePlanner"
GitHub Events
Total
- Watch event: 1
- Push event: 1
Last Year
- Watch event: 1
- Push event: 1
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| filippersson | f****n@g****m | 190 |
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 0
- Total pull requests: 9
- Average time to close issues: N/A
- Average time to close pull requests: 1 minute
- Total issue authors: 0
- Total pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.11
- Merged pull requests: 6
- Bot issues: 0
- Bot pull requests: 3
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
Pull Request Authors
- dependabot[bot] (6)
- filippersson (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 10 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 7
- Total maintainers: 1
pypi.org: plate-planner
A tool to create and visualize sample layouts for multiwell plates.
- Documentation: https://ssi-dk.github.io/CD-MRG-PlatePlanner/
- License: mit
-
Latest release: 0.2.0
published about 2 years ago
Rankings
Maintainers (1)
Dependencies
- matplotlib *
- numpy *
- pandas *
- tomli *
- actions/checkout v2 composite
- pypa/gh-action-pypi-publish release/v1 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- softprops/action-gh-release v1 composite
- actions/checkout v4 composite
- actions/upload-artifact v1 composite
- openjournals/openjournals-draft-action master composite
- actions/checkout v3 composite
- actions/setup-python v3 composite