import pandas as pd
import numpy as np
import networkx as nx
import os

PATH = os.getcwd()
INTERACTOME_FILE = "/interactome/menche.tsv"

class Interactome(object):

    def __init__(self, filepath):
        self.ixns = pd.read_csv(filepath, sep="\t")
        self.G = nx.Graph()

        for _, ixn in self.ixns.iterrows():
            src = ixn["gene_ID_1"]
            dest = ixn["gene_ID_2"]
            self.G.add_node(src)
            self.G.add_node(dest)
            self.G.add_edge(src, dest)


4dc32eb55f5a4a51641d56f0f62c9d82b178204d
<mask token>


class Interactome(object):
    <mask token>

<mask token>


class Interactome(object):

    def __init__(self, filepath):
        self.ixns = pd.read_csv(filepath, sep='\t')
        self.G = nx.Graph()
        for _, ixn in self.ixns.iterrows():
            src = ixn['gene_ID_1']
            dest = ixn['gene_ID_2']
            self.G.add_node(src)
            self.G.add_node(dest)
            self.G.add_edge(src, dest)

<mask token>
PATH = os.getcwd()
INTERACTOME_FILE = '/interactome/menche.tsv'


class Interactome(object):

    def __init__(self, filepath):
        self.ixns = pd.read_csv(filepath, sep='\t')
        self.G = nx.Graph()
        for _, ixn in self.ixns.iterrows():
            src = ixn['gene_ID_1']
            dest = ixn['gene_ID_2']
            self.G.add_node(src)
            self.G.add_node(dest)
            self.G.add_edge(src, dest)

import pandas as pd
import numpy as np
import networkx as nx
import os
PATH = os.getcwd()
INTERACTOME_FILE = '/interactome/menche.tsv'


class Interactome(object):

    def __init__(self, filepath):
        self.ixns = pd.read_csv(filepath, sep='\t')
        self.G = nx.Graph()
        for _, ixn in self.ixns.iterrows():
            src = ixn['gene_ID_1']
            dest = ixn['gene_ID_2']
            self.G.add_node(src)
            self.G.add_node(dest)
            self.G.add_edge(src, dest)

import pandas as pd
import numpy as np
import networkx as nx
import os

PATH = os.getcwd()
INTERACTOME_FILE = "/interactome/menche.tsv"

class Interactome(object):

    def __init__(self, filepath):
        self.ixns = pd.read_csv(filepath, sep="\t")
        self.G = nx.Graph()

        for _, ixn in self.ixns.iterrows():
            src = ixn["gene_ID_1"]
            dest = ixn["gene_ID_2"]
            self.G.add_node(src)
            self.G.add_node(dest)
            self.G.add_edge(src, dest)

