哪位大神帮忙解决几个python的小问题,感激不尽啊
>LOC_Os01g01010.1 gene=LOC_Os01g01010TCATTCCGAGCCCCCCTTCAATAACTTGTAAATATACTTCTTCCTCAGCTTGATAGCCATGCGTACGCATCTTTTTACATTGATCTTCAGCATATTATCATTGAACATCTTGATTGCATCATCTATTGAGCGAGTTTCTCTAATTATCTTGTGGCGATTGATTACAAGGATTGCTGCTACGCAGAATATAGGCAGATCATCATCTCCATTCTTTGCTAACACATTTGTGCTTATATGTGGCATCTGCTGATGTCTTGCCCAAATAGTAGCTCCTGACAAGCCACAGAGGGGATTTCTTGTATTGGGTTTCATTCCAAGGTTGCAAGCTACACGCATTTCACCATTTCTATGATGGGGCTTCCTGCTTTTGGACTTTCTTCTTGTGTAACTGTTCACCCGGTGCTCTTCTTTCACCTCACATGATAAATCATTCCTCATATCTACCAGCAATGGCTCCAGACAATTCTCTTCCAAATGTAAAATCACATCTTCATTAAAGTCAGCAGCCCACATCATCTCCCACATGCTAAGTGACTCCTCAAAGGACAGCTCTCGACGAAAAAGCACTAGCAGCATCCGGAAAGCAAAATGAAGGCTTTCAGCACCAATTGTTGACAAATGTTCAAATAATTCTACATCAGTTATTTCCATGATCTTCCACAATGCTTGCAACTGCTTCATAACTCCTGTTGGTCCCTCCATCTGGAAATTTTCACGCATCCTTCTCAGTAGCATCTCAAAGCACCAAAAGGCATCTGCATCATCCTCATAGAGAACAACAAAAGGTGAAAGTAGATCACTCATACCTTGGCAATACCCGGTGGAAGGATCAACCCATGCATAAACTGCAAGTATATCTGACATCCTAGCCATATTTCTTGATTCTCCATAGAAATCAAGATGACTATCCGTTCTAACCACATCAACCACAATTCGGTGCAGTGTCCAAAGCCATTCAGAGACTCGATCTTTGCTGGCAACCACACTGTTGGATTTGGTTCCATCAACAAAATCTGCTTCTGGTGCATCAGATATCCTCAAGGAATCTATAACTTCCCTGTTATAGCCATTATCATCTAACCATCTATCCTGCTTGTATGCATCTGAGTGAAAGATGGCTGAATCACTGTTGCTAGCCCTAAACACATCACTGGAGCATGAATTTGACTCTATAATGAGATCTATGTTATTATTGATTTGGAAGCTGTGCATACGTTCATCACGGTGCCTTAATCTATCTTCAGGAACTGAGAAACTACAATGATTTTTATCAACTCCATTGCTGCCCACACCATCAGTTGAGAAAAAATTTGTAACAGGTAGAGAAGGATAATCATCGAAGGTCTCAGTGTCATATCTTGGTTCACCCATGTCATTGTAATCCTGAGAATCTTTTGAGCAATTATTCACTTCTGTAGAAGACACAATAAAATTGGAAGAATCATAAAGAGAGGTATCATTATGTACGTTGAAACCAACTAGTTCAGCTGATTTACTACAGCTTTCCCTTTTTTGTGACTGCTGTGCACCACCGGGGCCATAATCTGAATCTTCTACTAAACTGCCAGCTGTATTTTGTGAAGTTTGTTGACTTGTGCTAACTTCTTCTGCAATGTGGGTTTCTTTTGACATAGTCCTGACATCCATTAGCTTTGATCCAACAGCGTAAGCAAGCTCACCTGTACCAATGCTTGGGTGCATGCTCTGGCACTGTCTAACTAAAATTTGATATTTTTCCCTTCTAACAGCTCTTAGTTTCCTCCTATACTCTGAGGTACTACTCAAGGCATAGCAGCCAAGAAGAAATTCCCAAACTTCAGCTCGAATAGTGGGATCCACACCCCCTAAGACAATGAATTTTAGGGCTTTACGGAAACCTATGACCTTTCCATCATTATCAAAACATGTGTGCCATTTTTCCGGTTTGAGCATTTTGCTCCCCTTAACGGGGGATGGGTTGAGGCAGGGGTCGCCAATGTCACGGACGAGGGAGCCAACGCCGCGCTGGAGGTTGGCCATGGCGCCGCCCGCACGGCCACCGGCGCCGCACATCCACTTGATGTAGTCCCCAGCGGTATCTCCGTTGTCTTGGCCCGCGGCCGACGACAT
1. 以上序列是水稻的一条cds序列(反向),请屏幕输入到程序中,获得其反向互补序列,打印到屏幕
2. 根据其反向互补序列,翻译出该序列对应的蛋白质序列,并输出到屏幕
密码子对应表为:
'AAA' => 'K', 'AAC' => 'N', 'AAG' => 'K', 'AAT' => 'N',
'ACA' => 'T', 'ACC' => 'T', 'ACG' => 'T', 'ACT' => 'T',
'AGA' => 'R', 'AGC' => 'S', 'AGG' => 'R', 'AGT' => 'S',
'ATA' => 'I', 'ATC' => 'I', 'ATG' => 'M', 'ATT' => 'I',
'CAA' => 'Q', 'CAC' => 'H', 'CAG' => 'Q', 'CAT' => 'H',
'CCA' => 'P', 'CCC' => 'P', 'CCG' => 'P', 'CCT' => 'P',
'CGA' => 'R', 'CGC' => 'R', 'CGG' => 'R', 'CGT' => 'R',
'CTA' => 'L', 'CTC' => 'L', 'CTG' => 'L', 'CTT' => 'L',
'GAA' => 'E', 'GAC' => 'D', 'GAG' => 'E', 'GAT' => 'D',
'GCA' => 'A', 'GCC' => 'A', 'GCG' => 'A', 'GCT' => 'A',
'GGA' => 'G', 'GGC' => 'G', 'GGG' => 'G', 'GGT' => 'G',
'GTA' => 'V', 'GTC' => 'V', 'GTG' => 'V', 'GTT' => 'V',
'TAA' => '*', 'TAC' => 'Y', 'TAG' => '*', 'TAT' => 'Y',
'TCA' => 'S', 'TCC' => 'S', 'TCG' => 'S', 'TCT' => 'S',
'TGA' => '*', 'TGC' => 'C', 'TGG' => 'W', 'TGT' => 'C',
'TTA' => 'L', 'TTC' => 'F', 'TTG' => 'L', 'TTT' => 'F'
3. 计算该序列中CG含量最高的25bp区域。提示:将该序列,以25bp为window,1bp为step 循环计算,取最大CG含量值对应的区域,打印到屏幕。
页:
[1]