Browse Source

updated readme

xmlparsing
Holger Frey 3 years ago
parent
commit
614a031217
  1. 6
      .pre-commit-config.yaml
  2. 19
      README.md

6
.pre-commit-config.yaml

@ -12,7 +12,7 @@ repos:
hooks: hooks:
- id: isort-project - id: isort-project
name: isort_project name: isort_project
entry: isort -rc sensospot_data entry: isort -rc sensospot_parser
language: system language: system
pass_filenames: false pass_filenames: false
- id: isort-test - id: isort-test
@ -22,12 +22,12 @@ repos:
pass_filenames: false pass_filenames: false
- id: black - id: black
name: black name: black
entry: black sensospot_data tests entry: black sensospot_parser tests
language: system language: system
pass_filenames: false pass_filenames: false
- id: flake8 - id: flake8
name: flake8 name: flake8
entry: flake8 --ignore E231,W503 sensospot_data tests entry: flake8 --ignore E231,W503 sensospot_parser tests
language: system language: system
pass_filenames: false pass_filenames: false
- id: pytest - id: pytest

19
README.md

@ -1,16 +1,21 @@
Sensospot Data Parser Sensospot Data Parser
===================== =====================
Parsing the numerical output from Sensovation Sensospot image analysis. Parsing the numerical output from [SensoSpot][sensospot] microarray analysis.
The [SensoSpot][sensospot] microarray analyzer is an automated fluorescence microscope with an image analysis software for detecting and measuring microarrays. The original name of the product was "FLAIR" by the company Sensovation, that was later acquired by Miltenyi.
There is no affiliation on my side regarding Sensovation or Miltenyi, I just use the product and needed a way to make the data available for further analysis.
## Example: ## Example:
```python ```python
import sensospot_data import sensospot_parser
# read the raw data of a folder # read the raw data of a folder
raw_data = sensospot_data.parse_folder(<path to results directory>) raw_data = sensospot_parser.parse_folder(<path to results directory>)
sorted(raw_data.columns) == [ sorted(raw_data.columns) == [
'Analysis.Name', 'Analysis.Name',
@ -30,15 +35,14 @@ There is a `columns` module available, providing constans that define the column
```python ```python
import sensospot_data import sensospot_parser
sensospot_data.columns.ANALYSIS_NAME == "Analysis.Name" sensospot_parser.columns.ANALYSIS_NAME == "Analysis.Name"
``` ```
## Avaliable public functions: ## Avaliable public functions:
from sensospot_data import parse_file, parse_folder # noqa: F401
- **parse_folder(path_to_folder)** - **parse_folder(path_to_folder)**
Searches the folder for parsable Sensospot .csv files, parses them into one Searches the folder for parsable Sensospot .csv files, parses them into one
big pandas data frame and will add additional meta data from parameters folder, big pandas data frame and will add additional meta data from parameters folder,
@ -76,3 +80,6 @@ To install the development version of Sensovation Data Parser:
make devenv make devenv
To run the tests, use `make tests` (failing on first error) or `make coverage` for a complete report. To run the tests, use `make tests` (failing on first error) or `make coverage` for a complete report.
[sensospot]: https://www.miltenyi-imaging.com/products/sensospot
Loading…
Cancel
Save