refgen/extractor.py
def _load_summary(self):
        """load assembly summary file to memory"""

        return pd.read_csv(
            self.prep.path_summary,
            header  = 1,
            sep     = SepConst.TAB,
            usecols = [
                ExtractorConst.SUMM_COL_IDX_ASSEMBLY_ACC,
                ExtractorConst.SUMM_COL_IDX_REFSEQ_CAT,
                ExtractorConst.SUMM_COL_IDX_SPECIES,
                ExtractorConst.SUMM_COL_IDX_LEVEL,
                ExtractorConst.SUMM_COL_IDX_RELEASE,
                ExtractorConst.SUMM_COL_IDX_GENOME,
                ExtractorConst.SUMM_COL_IDX_GBRS,
                ExtractorConst.SUMM_COL_IDX_FTP],
            names   = [
                ExtractorConst.SUMM_COL_NAME_ASSEMBLY_ACC,
                ExtractorConst.SUMM_COL_NAME_REFSEQ_CAT,
                ExtractorConst.SUMM_COL_NAME_SPECIES,
                ExtractorConst.SUMM_COL_NAME_LEVEL,
                ExtractorConst.SUMM_COL_NAME_RELEASE,
                ExtractorConst.SUMM_COL_NAME_GENOME,
                ExtractorConst.SUMM_COL_NAME_GBRS,
                ExtractorConst.SUMM_COL_NAME_FTP])
load assembly summary file to memory
load assembly summary file to memory
load assembly summary file to memory
def _load_summary(self):
        return pd.read_csv(
            self.prep.path_summary,
            header  = 1,
            sep     = SepConst.TAB,
            usecols = [
                ExtractorConst.SUMM_COL_IDX_ASSEMBLY_ACC,
                ExtractorConst.SUMM_COL_IDX_REFSEQ_CAT,
                ExtractorConst.SUMM_COL_IDX_SPECIES,
                ExtractorConst.SUMM_COL_IDX_LEVEL,
                ExtractorConst.SUMM_COL_IDX_RELEASE,
                ExtractorConst.SUMM_COL_IDX_GENOME,
                ExtractorConst.SUMM_COL_IDX_GBRS,
                ExtractorConst.SUMM_COL_IDX_FTP],
            names   = [
                ExtractorConst.SUMM_COL_NAME_ASSEMBLY_ACC,
                ExtractorConst.SUMM_COL_NAME_REFSEQ_CAT,
                ExtractorConst.SUMM_COL_NAME_SPECIES,
                ExtractorConst.SUMM_COL_NAME_LEVEL,
                ExtractorConst.SUMM_COL_NAME_RELEASE,
                ExtractorConst.SUMM_COL_NAME_GENOME,
                ExtractorConst.SUMM_COL_NAME_GBRS,
                ExtractorConst.SUMM_COL_NAME_FTP])
def _load_summary ( self ) : return pd . read_csv ( self . prep . path_summary , header = 1 , sep = SepConst . TAB , usecols = [ ExtractorConst . SUMM_COL_IDX_ASSEMBLY_ACC , ExtractorConst . SUMM_COL_IDX_REFSEQ_CAT , ExtractorConst . SUMM_COL_IDX_SPECIES , ExtractorConst . SUMM_COL_IDX_LEVEL , ExtractorConst . SUMM_COL_IDX_RELEASE , ExtractorConst . SUMM_COL_IDX_GENOME , ExtractorConst . SUMM_COL_IDX_GBRS , ExtractorConst . SUMM_COL_IDX_FTP ] , names = [ ExtractorConst . SUMM_COL_NAME_ASSEMBLY_ACC , ExtractorConst . SUMM_COL_NAME_REFSEQ_CAT , ExtractorConst . SUMM_COL_NAME_SPECIES , ExtractorConst . SUMM_COL_NAME_LEVEL , ExtractorConst . SUMM_COL_NAME_RELEASE , ExtractorConst . SUMM_COL_NAME_GENOME , ExtractorConst . SUMM_COL_NAME_GBRS , ExtractorConst . SUMM_COL_NAME_FTP ] )
load assembly summary file to memory
load assembly summary file to memory
"""load assembly summary file to memory"""
self