09 2022 档案
函数集合
摘要:01 提取不同文件夹下同名文件 点击查看代码 def select(dir,name): import os import shutil list1 =[] list2 = [] dd = '' for root,dirs,files in os.walk(dir): for file in fil
阅读全文
提取最长转录本|多物种批量操作版
摘要:点击查看代码 #!/usr/bin/env python # -*- coding=utf-8 -*- ''' 提取序列文件中最长的转录本ID 需要修改######位置的参数 以及 open的目录 ''' import sys import re Fasta=open("/Business/psn_
阅读全文