pymodulon.gene_util
Utility functions for gene annotation
Module Contents
Functions
|
Get the full description for a COG category letter |
|
Helper function for parsing GFF annotations |
|
Converts GFF file(s) to a Pandas DataFrame |
|
|
|
Python wrapper for the uniprot ID mapping tool (See |
-
pymodulon.gene_util.
_get_attr
(attributes, attr_id, ignore=False)[source] Helper function for parsing GFF annotations
-
pymodulon.gene_util.
gff2pandas
(gff_file, feature='CDS', index=None)[source] Converts GFF file(s) to a Pandas DataFrame :param gff_file: Path(s) to GFF file :type gff_file: str or list :param feature: Name(s) of features to keep (default = “CDS”) :type feature: str or list :param index: Column or attribute to use as index :type index: str, optional
- Returns
df_gff – GFF formatted as a DataFrame
- Return type
-
pymodulon.gene_util.
uniprot_id_mapping
(prot_list, input_id='ACC+ID', output_id='P_REFSEQ_AC', input_name='input_id', output_name='output_id')[source] Python wrapper for the uniprot ID mapping tool (See https://www.uniprot.org/uploadlists/)
- Parameters
- Returns
mapping – Table containing two columns, one listing the inputs, and one listing the mapped outputs. Column names are defined by input_name and output_name.
- Return type