You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for developing pyfastx, that's a really nice tool! However, I have a basic question. When you iterate over the fasta object or the pyfastx.Fasta(command, does it always report name and sequences as string. What if I want to iterate over sequence objects to rename them using the description field. Maybe I missed something. Thanks again!!!
The text was updated successfully, but these errors were encountered:
Yes, current version for fasta object iteration can only return a tuple with string of name and seq. But you can use keys for iteration to make a sequence object for additional information. For example:
Thanks for developing pyfastx, that's a really nice tool! However, I have a basic question. When you iterate over the fasta object or the
pyfastx.Fasta(
command, does it always report name and sequences as string. What if I want to iterate over sequence objects to rename them using the description field. Maybe I missed something. Thanks again!!!The text was updated successfully, but these errors were encountered: