dbotu.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:amplicon_sequencing_pipeline 作者: thomasgurry 项目源码 文件源码
def read_sequence_table(fn):
    '''
    Read in a table of sequences. Expect a header and the sequence IDs in the
    first column. Samples are on the columns.

    fn: filename (or handle)

    returns: pandas.DataFrame
    '''
    df = pd.read_table(fn, dtype={0: str}, header=0)
    df.index = df.iloc[:,0]
    df = df.iloc[:,1:].astype(int)
    return df
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号