Entering edit mode
5.2 years ago
pascalandres182
•
0
I need to use a python to order a str like:
Uncharacterized protein YiiQ OS = Escherichia coli (strain K12) GN = yiiQ PE = 3 SV = 1
and that the result of this matches PROKKA format
> SeqID EC_number ~~~ gene ~~~ product ~~~ COG
So don't use a language you aren't familiar with. If you have no programming skills, try the programming forums. It's not a bioinformatics issue.
None of us was born with (python) programming skills, so it's worth spending some effort to fix your problem and show us what you tried. Also, from your question, it is not clear to me how the reformatting should be done.
I don't mind helping although I agree with whats been said. Yet, maybe its me but, I couldn't understand much from what you've typed in. Could you explain a bit better with a full example
Your first problem is not that you don't know the python to do this, it's that your starting string literally does not contain the information you need to create the correctly formatted
prokka
header; you have no EC number, you have no Sequence ID (though this is arbitrary anyway), and you don't have any COGs (but I think these may be optional inprokka
- don't quote me on that).