Tools.mygene.MyGene

Import a csv of refseq accessions & get gene information from mygene.

Usage

Source

Tools.mygene.MyGene(
    infile,
    outfile,
)

Methods

Name Description
__init__() Initialize my gene handle and refseq/accessions list.
query_mygene() Query mygene for gene information.

__init__()

Initialize my gene handle and refseq/accessions list.

Usage

Source

__init__(infile, outfile)

Get the basic gene information. It’s best to use a csv file and title the row of the accessions list Accessions.

Parameters
infile

Input a csv file with a Homo_sapiens column

outfile
Desired path & name of the output file.

query_mygene()

Query mygene for gene information.

Usage

Source

query_mygene()