欢迎关注我的微信公众号【万能的小江江】
MHC -Ⅰ模型下载
序列下载
http://pfam.xfam.org/family/PF00129#tabview=tab3
运行结果
模型下载失败
下载目录
C:\\Users\\X1A5E~1.JIA\\AppData\\Local\\Temp\'
操作
#python
from Bio import SeqIO
for sequence in SeqIO.parse('e://mhcflurry/down/PF00129_seed_fasta.txt', "fasta"):
print(sequence.id)
print(sequence.seq)
print(len(sequence))
from Bio import SeqIO
for sequence in SeqIO.parse('e://mhcflurry/down/PF00129_seed_fasta/PF00129_seed_fasta.txt', "fasta"):
print('>'+sequence.id)
print(sequence.seq)
print(len(sequence))
#可视化操作
Squiggle e://mhcflurry/down/PF00129_seed_fasta/PF00129_seed_fasta_result.fasta --method=gates
Squiggle e://mhcflurry/down/PF00129_seed_fasta/PF00129_seed_fasta.txt --method=gates
Squiggle e://mhcflurry/down/PF00129_seed_fasta/PF00129_seed_fasta.txt --method=squiggle
Squiggle e://mhcflurry/down/PF00129_seed_fasta/PF00129_seed_fasta_result.fasta --method=squiggle
Squiggle e://mhcflurry/down/PF00129_seed_fasta/PF00129_seed_fasta_result.fasta --method=gates