Skip to main content

Map gene ids using uniprot's website.

Project description

Tool for converting between various gene ids.

Installation

$ pip install gene_map

Usage

$ gene_map --help
Usage: gene_map [OPTIONS]

  Map gene ids between various formats.

Options:
  -i, --input TEXT   If it exists, treated as file with newline-separated gene
                     ids. Otherwise treated as a gene id itself.  [required]
  --from TEXT        Source ID type.  [required]
  --to TEXT          Target ID type.  [required]
  -o, --output TEXT  CSV-file to save result to.
  --help             Show this message and exit.

Getting started

Inputs can be either gene ids or files containing whitespace-separated gene ids:

$ cat mygenes.txt
Q9UM73 P97793
Q17192
$ gene_map -i P13368 -i P20806 -i mygenes.txt --from ACC --to GENENAME
From,To
P13368,sev
P20806,sev
Q9UM73,ALK
P97793,Alk
Q17192,BBXA1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gene_map-0.1.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page