Skip to content

Commit

Permalink
Created gapfill.py #52
Browse files Browse the repository at this point in the history
  • Loading branch information
GwennyGit committed Feb 2, 2023
1 parent 9c4d9f5 commit 875e4eb
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions refinegems/gapfill.py
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

0 comments on commit 875e4eb

Please sign in to comment.