mirror of
https://github.com/NAalytics/Assemblies-of-putative-SARS-CoV2-spike-encoding-mRNA-sequences-for-vaccines-BNT-162b2-and-mRNA-1273.git
synced 2024-06-26 14:08:56 +00:00
5 lines
176 B
Python
5 lines
176 B
Python
from skbio import DNA, RNA, Sequence
|
|
rna_seq = RNA(open('raw.txt').read().replace('T','U'))
|
|
with open('moderna.gb', 'w+') as fh:
|
|
print(rna_seq.write(fh, format='genbank'))
|