# metadownload
此脚本为下载NCBI中biosample相关字段信息的python脚本
## Installation
```
pip3 install metadownload
```
## Dependency
- [E-utilities](https://www.ncbi.nlm.nih.gov/books/NBK179288/)
**you should add E-utilities in your PATH**
E-utilities install:
```
sh -c "$(curl -fsSL ftp://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect/install-edirect.sh)"
sh -c "$(wget -q ftp://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect/install-edirect.sh -O -)"
```
## Usage
```
usage: metadownload -list <biosample_acc_list> -outdir <output>
Author: Qingpo Cui(SZQ Lab, China Agricultural University)
optional arguments:
-h, --help show this help message and exit
-list LIST <file>: biosample_acc_list, one accession per line
-outdir OUTDIR <path>: output directory name
-v, --version Display version
```
## Output
You will get text file contains metainfo for each biosample accession named with the accession number and a csv format summary file
Raw data
{
"_id": null,
"home_page": "https://github.com/hbucqp/metadownload",
"name": "metadownload",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "wgs,pubmlst,mlst",
"author": "Qingpo Cui",
"author_email": "cqp@cau.edu.cn",
"download_url": "https://files.pythonhosted.org/packages/79/20/c95d3d686044d23e1b0aae48e7f2c8350089978802bd544fee35aa17c97b/metadownload-0.1.3.tar.gz",
"platform": "any",
"description": "# metadownload\n\u6b64\u811a\u672c\u4e3a\u4e0b\u8f7dNCBI\u4e2dbiosample\u76f8\u5173\u5b57\u6bb5\u4fe1\u606f\u7684python\u811a\u672c\n\n\n## Installation\n```\npip3 install metadownload\n```\n\n## Dependency\n- [E-utilities](https://www.ncbi.nlm.nih.gov/books/NBK179288/)\n\n**you should add E-utilities in your PATH**\n\nE-utilities install:\n\n```\nsh -c \"$(curl -fsSL ftp://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect/install-edirect.sh)\"\n\nsh -c \"$(wget -q ftp://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect/install-edirect.sh -O -)\"\n```\n\n## Usage\n\n```\nusage: metadownload -list <biosample_acc_list> -outdir <output>\n\nAuthor: Qingpo Cui(SZQ Lab, China Agricultural University)\n\noptional arguments:\n -h, --help show this help message and exit\n -list LIST <file>: biosample_acc_list, one accession per line\n -outdir OUTDIR <path>: output directory name\n -v, --version Display version\n```\n\n## Output\n\nYou will get text file contains metainfo for each biosample accession named with the accession number and a csv format summary file\n\n\n",
"bugtrack_url": null,
"license": "MIT Licence",
"summary": "python mlst analysis tool",
"version": "0.1.3",
"split_keywords": [
"wgs",
"pubmlst",
"mlst"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6c30c040bf8afce0853df0317e9d71b09fa142b2b62f446ad5c7e432edb29c88",
"md5": "41813450951de5cd66b300a8cffde7d6",
"sha256": "538f9376ffa3a9021135e9e6c21b610b63478f7eae26bc1ed2cdf1eb7e4478a2"
},
"downloads": -1,
"filename": "metadownload-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "41813450951de5cd66b300a8cffde7d6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4176,
"upload_time": "2023-01-11T06:17:51",
"upload_time_iso_8601": "2023-01-11T06:17:51.515948Z",
"url": "https://files.pythonhosted.org/packages/6c/30/c040bf8afce0853df0317e9d71b09fa142b2b62f446ad5c7e432edb29c88/metadownload-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7920c95d3d686044d23e1b0aae48e7f2c8350089978802bd544fee35aa17c97b",
"md5": "66169bed744e1da24d280d981f4e7286",
"sha256": "d6b2f2cbce15646d321020288b7f3911b78b0e05241666db948eaa2748927c3a"
},
"downloads": -1,
"filename": "metadownload-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "66169bed744e1da24d280d981f4e7286",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4098,
"upload_time": "2023-01-11T06:17:54",
"upload_time_iso_8601": "2023-01-11T06:17:54.879552Z",
"url": "https://files.pythonhosted.org/packages/79/20/c95d3d686044d23e1b0aae48e7f2c8350089978802bd544fee35aa17c97b/metadownload-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-11 06:17:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "hbucqp",
"github_project": "metadownload",
"lcname": "metadownload"
}