-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Function originally from refineGEMs.genecomp/refineGEMs.KEGG_analysis --- Modified | ||
def compare_gene_lists(gps_in_model: pd.DataFrame, db_genes: pd.DataFrame) -> pd.DataFrame: | ||
|
||
in_db = db_genes.set_index('Locus_tag') | ||
in_model = gps_in_model.set_index(0) | ||
genes_in_db_not_in_model = in_db[~in_db.index.isin(in_model.index)] | ||
return genes_in_db_not_in_model.reset_index() | ||
|
||
def get_genes_from_gff(): | ||
pass | ||
|
||
|
||
def compare_model_to_gff(): | ||
pass | ||
|
||
|
||
def get_related_metabs_reactions_blast(): | ||
pass | ||
|
||
|
||
def gapfill(): | ||
''' Main function to gapfill a model with comparison to KEGG/BioCyc/(Genbank) GFF file | ||
''' | ||
pass |