fetch features
Fetch information from a list of accession of BioSample numbers.
Installation
Create a virtual environment and install fetch features using pip as follows:
pip install fetch-features
Usage and options
To view all the options run:
fetch_features --help
Output:
usage: fetch_features [-h] [-v] [-i INPUT] [-t TYPE] [-e EMAIL] [-o OUTPUT] [-s SAVE_AS]
[--access-biosample-from-accession] [--gui]
__ _ _ __ _
/ _| ___| |_ ___| |__ / _| ___ __ _| |_ _ _ _ __ ___ ___
| |_ / _ \ __/ __| '_ \ | |_ / _ \/ _` | __| | | | '__/ _ \/ __|
| _| __/ || (__| | | | | _| __/ (_| | |_| |_| | | | __/\__ \
|_| \___|\__\___|_| |_| |_| \___|\__,_|\__|\__,_|_| \___||___/
Fetch features from a list of accession or BioSample numbers.
Help:
-h, --help Show this help message and exit.
-v, --version Show program's version number and exit
Required:
-i INPUT, --input INPUT
Path to input file with list of unique identifiers (UIDs).
The user should provide the list of UIDs in a txt or xlsx file.
-t TYPE, --type TYPE Type of unique identifier: `accession` or `biosample`.
The `biosample` option fetches the information of the most
updated accession numbers associated with the BioSample number.
-e EMAIL, --email EMAIL
Provide your email address to the NCBI.
Optional:
-o OUTPUT, --output OUTPUT
Path to output folder (default current working directory).
-s SAVE_AS, --save-as SAVE_AS
Save results as: `csv`, `excel`, or `csv-excel` (default `csv`).
--access-biosample-from-accession
If you provide a list of accession numbers, get features of
all related accession numbers that belong to the same BioSample.
--gui Activate GUI.
Usage examples
- The simplest command. The output is in the current working directoy.
fetch_features -i path/to/list.txt -t accession -e email@address.com
- In this example, the output is in your Documents.
fetch_features -i path/to/list.txt -t accession -e email@address.com -o ~/Documents
- If you prefer the GUI version.
fetch_features --gui
Metadata
Release files for fetch-features 0.2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fetch_features-0.2.9.tar.gz | 363.0 kB | Without provenance | Details for fetch_features-0.2.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fetch_features-0.2.9-py3-none-any.whl | Python 3 | none | any | Details for fetch_features-0.2.9-py3-none-any.whl |
Total release size: 385.5 kB
Release files / fetch_features-0.2.9.tar.gz
| Download URL | fetch_features-0.2.9.tar.gz |
|---|---|
| Size | 363.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acb50c9de499d960a3bc9f9621439f6628fc8f45a623f6ea84f6f2c8ff5adbe8
|
|
BLAKE2b-256 checksum How to use checksums |
2bdbd2f3d4dd1076587fd8a2c1136606c571f8464e926d9f492e4aaa2987859e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / fetch_features-0.2.9-py3-none-any.whl
| Download URL | fetch_features-0.2.9-py3-none-any.whl |
|---|---|
| Size | 22.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aeed919b31f928cf06f54f578ee12c70a594d5895fa2379e11ab911b91d5ccae
|
|
BLAKE2b-256 checksum How to use checksums |
b6e090d49908b1c064eeff4942335c62622de9e3575fbe2ec4ce4dcf0f33fa20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for fetch-features 0.2.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.