pastebin
| #1 paste tool since 2002
create new paste
tools
api
archive
real-time
faq
pastebin
Follow @pastebin
create new paste
trending pastes
sign up
login
my settings
my profile
My Pastes
Public Pastes
Soundcheck Theme for Wo...
8 sec ago
Wales vs Scotland Live ...
33 sec ago
Untitled
6 sec ago
Untitled
7 sec ago
FileFactory Premium Coo...
13 sec ago
Untitled
12 sec ago
Atalanta vs Lecce Live ...
1 min ago
Untitled
14 sec ago
Layout Width
Share Pastebin
JoaoRodrigues
By: a guest | Dec 8th, 2008 | Syntax:
Python
| Size: 0.14 KB | Hits: 53 | Expires: Never
Download
|
Raw
|
Embed
|
Report abuse
This paste has a previous version,
view the difference
.
#!/usr/bin/python
from
Bio
import
AlignIO
alignments = AlignIO.
read
(
open
(
'alignment2.needle'
)
,
"emboss"
)
print
alignments.
format
(
"fasta"
)
create new paste
|
create new version of this paste
RAW Paste Data
#!/usr/bin/python from Bio import AlignIO alignments = AlignIO.read(open('alignment2.needle'), "emboss") print alignments.format("fasta")