This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Python language preference

i have a ecoli.gff file i need to learn to use python language now i need to print the genome ecoli length write in a file the gene and the length and write in a file the annotated genes and say when gene are sanse line or ant sense line

thanks!

genome

If this is a homework question then please note so. In that case people will want to see an effort on your side to solve the problem. Main reason for this is to make sure you are able to learn the concepts rather than take and run with a provided answer.

BTW: Tutorial tag is used/reserved for posts which teach/walk people through using a tool/program. This happens to be a normal question.

Same as genomax, it's hard to help you without knowing what problem are you having.

Hello marcioalbuquerquesilva!

We believe that this post does not fit the main topic of this site.

This question is not specific enough to help, also lacking the what have you tried.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

1 answer

GFF is still a bit of a funny format, in that it's used increasingly as program inputs, but the parsers don't seem to be quite there yet.

Case in point; biopython doesn't fully integrated it just yet. However, they're working towards it.

Maybe this link will set you off on the right track, but as the comments said, we need more information to be able to help you.

http://biopython.org/wiki/GFF_Parsing

Log in to answer this question.