Parsing codeml output

172 views
Skip to first unread message

Rodolfo Probst

unread,
Dec 7, 2021, 2:53:15 AM12/7/21
to PAML discussion group
Dear PAML community,

I've been conducting ancestral sequence reconstructions using codeml and I was wondering if there is an easy way to parse the rst file. I would like to extract the ancestral sequences from the rst file and save them in another file in FASTA format. I've been struggling to parse the rst file, and any feedback or script would be highly appreciated!

Thank you,
Rodolfo

Ziheng

unread,
Feb 17, 2022, 12:26:30 PM2/17/22
to PAML discussion group
haha, i am of no use for this.  
can you write some python code to do it, or perhaps shell scripts are good enough.  
i think it takes about a day to learn basic commands, and another day or two to start programming.
best, ziheng

Rodolfo Probst

unread,
Feb 17, 2022, 6:38:51 PM2/17/22
to PAML discussion group
Hi Ziheng,

Thank you for your feedback! I solved the issue a while back with a quick python parser.

Best,
Rodolfo
Reply all
Reply to author
Forward
0 new messages