This is a test version of Biostars. For the public version, visit https://www.biostars.org.
opening fasta file in python3

Hello members,

I need help w.r.t. opening and reading a fasta file(.fa) in python3, And also to input the same fasta file for fastqc analysis. Having tried some biopython code ( such as from Bio import SeqIO) i keep getting an error message that says invalid syntax. (I am working in Ubuntu OS).

Would be very thankful to receive some help!

fasta file python3 fastqc

Please share your code, otherwise is impossible to know what are you doing wrong

Are you executing your python code in a python script or interpreter, or just in your bash shell?

1 answer

Thanks for responding I was able to solve the issue right away Thanks again

Please explain what you missed and how you solved it so your post can be useful to those making a similar mistake in the future.

Log in to answer this question.