Created
July 23, 2020 08:09
-
-
Save jpcrespo/30ce50e8c415d8b7f44ef17ab06acb29 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import pandas as pd | |
import seaborn as sns | |
import os | |
from Bio import SeqIO | |
for sequence in SeqIO.parse('MN908947.fna', "fasta"): | |
a = sequence.seq | |
print('Análisis del genoma Covid19') | |
print(len(a),'Nucleotidos') | |
np.set_printoptions(threshold=500) | |
a=np.array(a) | |
print('Imprimen las primeras 500 bases') | |
print(a[:500]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment