# Metabo_ADNI
[![PyPI version](https://badge.fury.io/py/metabo-adni.svg)](https://pypi.org/project/metabo-adni/)
Metabolomics data processing for the ADNI data sets.
Currently, only supports the Biocrates p180 and Nightingale NMR platforms.
# Installation
- Clone the repo
```bash
git clone https://github.com/tomszar/adni_metabolomics.git
```
- Install metabo_adni
```bash
cd adni_metabolomics
pip install .
```
# Usage
In the folder with the required datasets, simply run:
```bash
clean_files
```
And metabo_adni will run with the default parameters.
**Note:** do not change the original name of the files.
## Options
- `-D`: define the directory were the files are located. Default, current working directory
- `-P`: define the platform, either p180 or nmr. Default, p180
- `-F`: define the fasting file. Default, BIOMARK.csv
- `-L`: define the directory were the LOD p180 files are located. Default, current working directory
- `--mmc`: remove metabolites with missing proportions greater than cutoff. Default, 0.2
- `--mpc`: remove participants with missing proportions greater than cutoff. Default, 0.2
- `--cv`: remove metabolites with CV values greater than cutoff. Default, 0.2
- `--icc`: remove metabolites with ICC values lower than cutoff. Default, 0.65
- `--log2`: apply log2 transformation to metabolite concentration values
- `--merge`: merge data frames across cohorts
- `--zscore`: apply zscore transformation to metabolite concentration values
- `--winsorize`: winsorize extreme values (more than 3 std of mean)
- `--remove-moutliers`: remove multivariate outliers using the Mahalanobis distance
- `--residualize-meds`: replace metabolite values with residuals from a regression with medication intake. Note that residuals are scaled to unit variance
Raw data
{
"_id": null,
"home_page": "https://github.com/tomszar/metabo_adni",
"name": "metabo_adni",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.12",
"maintainer_email": null,
"keywords": "metabolomics, quality control, adni, alzheimer's disease",
"author": "Tomas Gonzalez Zarzar",
"author_email": "tomasgzarzar@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/82/66/b805e00fb74683e18fcd8f9f6c51e3816fc7d398bad48bc75aee765723b7/metabo_adni-0.5.3.tar.gz",
"platform": null,
"description": "# Metabo_ADNI\n[![PyPI version](https://badge.fury.io/py/metabo-adni.svg)](https://pypi.org/project/metabo-adni/)\n\nMetabolomics data processing for the ADNI data sets.\nCurrently, only supports the Biocrates p180 and Nightingale NMR platforms.\n\n# Installation\n\n- Clone the repo\n\n```bash\ngit clone https://github.com/tomszar/adni_metabolomics.git\n```\n\n- Install metabo_adni\n\n```bash\ncd adni_metabolomics\npip install .\n```\n\n# Usage\n\nIn the folder with the required datasets, simply run:\n\n```bash\nclean_files\n```\n\nAnd metabo_adni will run with the default parameters.\n**Note:** do not change the original name of the files.\n\n## Options\n\n- `-D`: define the directory were the files are located. Default, current working directory\n- `-P`: define the platform, either p180 or nmr. Default, p180\n- `-F`: define the fasting file. Default, BIOMARK.csv\n- `-L`: define the directory were the LOD p180 files are located. Default, current working directory\n- `--mmc`: remove metabolites with missing proportions greater than cutoff. Default, 0.2\n- `--mpc`: remove participants with missing proportions greater than cutoff. Default, 0.2\n- `--cv`: remove metabolites with CV values greater than cutoff. Default, 0.2\n- `--icc`: remove metabolites with ICC values lower than cutoff. Default, 0.65\n- `--log2`: apply log2 transformation to metabolite concentration values\n- `--merge`: merge data frames across cohorts\n- `--zscore`: apply zscore transformation to metabolite concentration values\n- `--winsorize`: winsorize extreme values (more than 3 std of mean)\n- `--remove-moutliers`: remove multivariate outliers using the Mahalanobis distance\n- `--residualize-meds`: replace metabolite values with residuals from a regression with medication intake. Note that residuals are scaled to unit variance\n",
"bugtrack_url": null,
"license": "GNU General Public License v3.0",
"summary": "Metabolomics data processing for the ADNI data sets.",
"version": "0.5.3",
"project_urls": {
"Homepage": "https://github.com/tomszar/metabo_adni",
"Repository": "https://github.com/tomszar/metabo_adni"
},
"split_keywords": [
"metabolomics",
" quality control",
" adni",
" alzheimer's disease"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fada35c45e670de280dd389d0968d4b7bbc707fd519ab7a008479e030ed32cdb",
"md5": "3490e2872899be6379f70c757027d853",
"sha256": "484cc7c832bec7b7e32f301607adeda7b23ce0b0cb7e47b08a989a01cb67a519"
},
"downloads": -1,
"filename": "metabo_adni-0.5.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3490e2872899be6379f70c757027d853",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.12",
"size": 25725,
"upload_time": "2024-06-14T21:33:46",
"upload_time_iso_8601": "2024-06-14T21:33:46.695097Z",
"url": "https://files.pythonhosted.org/packages/fa/da/35c45e670de280dd389d0968d4b7bbc707fd519ab7a008479e030ed32cdb/metabo_adni-0.5.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8266b805e00fb74683e18fcd8f9f6c51e3816fc7d398bad48bc75aee765723b7",
"md5": "8dd6fe0b4fe85d57aa1afddb465b48e6",
"sha256": "3ed790212b69e7756a94a2871cec8822d398ef883b82e20f5ad70a55a09e1776"
},
"downloads": -1,
"filename": "metabo_adni-0.5.3.tar.gz",
"has_sig": false,
"md5_digest": "8dd6fe0b4fe85d57aa1afddb465b48e6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.12",
"size": 22917,
"upload_time": "2024-06-14T21:33:48",
"upload_time_iso_8601": "2024-06-14T21:33:48.429968Z",
"url": "https://files.pythonhosted.org/packages/82/66/b805e00fb74683e18fcd8f9f6c51e3816fc7d398bad48bc75aee765723b7/metabo_adni-0.5.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-14 21:33:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tomszar",
"github_project": "metabo_adni",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "metabo_adni"
}