Skip to content

Instantly share code, notes, and snippets.

@tbrittoborges
Created December 16, 2015 18:59
Show Gist options
  • Save tbrittoborges/10818040e481214423e7 to your computer and use it in GitHub Desktop.
Save tbrittoborges/10818040e481214423e7 to your computer and use it in GitHub Desktop.
print a pandas column in the fasta format.
print '>\n' + '\n> \n'.join(list(df.query(...).sequence_column))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment