On 08/03/16 07:33, syed zaidi wrote:
> Hello all,

Hello,
For future reference, please do not hijack an old thread
for a new topic -
a) it messes up0 the archives for searching
b) it means those using threaded readers will probably
   not see your message

> I am stuck in a problem, I hope someone can help me out. I have a FASTA file

There are specialist libraries for reading processing fasta data.
Are you using one of those, if so which? Thee are also general
purpose Bio science libraries within the SciPy and SciKit bundles
that may help you. Their support forums are also much more likely
to have the specialist knowledge on how to use these tools. This
forum is concerned with core Python language issues.

It will also  help if you tell us which OS and Python
version you are using.

> ....
> I want to perform the following steps:

> compare the scaf_name with the header of fasta sequence
> if header matches then process the sequence
> and extract the sequence by the provided start and end positions.

OK, There are three clear steps there. Have you written any code for any
of them? If so show us, along with any error messages.
Do you have a specific issue where you need help?

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to