Python¥Ð¥¤¥ª?¡¡Python¥Ð¥¤¥ª/¥Ä¡¼¥ë?
1731¡¡¡¡¡¡2019-03-16 (ÅÚ) 10:57:59
°äÅÁ¸¦¤Î¥Õ¥ì¡¼¥à¥ï¡¼¥¯¤Ç¤Ï¡¢»²¾È¥·¡¼¥±¥ó¥¹¤òfasta¥Õ¥¡¥¤¥ë+gff¥Õ¥¡¥¤¥ë¤Ç¼è¤ê¹þ¤ó¤Ç¤¤¤ë¡£
GeneBank¥Õ¥¡¥¤¥ë·Á¼°¤«¤é¡ÊÇÛÎóÉôʬ¤ò¡ËFasta¤Ë¡¢¡Ê¥¢¥Î¥Æ¡¼¥·¥ç¥óÉôʬ¤ò¡ËGFF·Á¼°¤Ë ÊÑ´¹¤¹¤ë¤³¤È¤ò¹Í¤¨¤ë¡£
»²¹Í»ñÎÁ
#Converting other formats to GFF3 from BCBio import GFF from Bio import SeqIO in_file = "your_file.gb" out_file = "your_file.gff" in_handle = open(in_file) out_handle = open(out_file, "w") GFF.write(SeqIO.parse(in_handle, "genbank"), out_handle) in_handle.close() out_handle.close()