allpy
annotate test/test.py @ 84:0705b6fe69c7
wt: compiled debug version
bug detected
author | boris (netbook) <bnagaev@gmail.com> |
---|---|
date | Tue, 19 Oct 2010 14:52:36 +0400 |
parents | |
children | a2f3926f5077 |
rev | line source |
---|---|
bnagaev@83 | 1 from allpy.lib.project import Project |
bnagaev@83 | 2 |
bnagaev@83 | 3 p = Project(open('1jcc_in.fasta')) |
bnagaev@83 | 4 print "alignment length: %i" % len(p) |
bnagaev@83 | 5 |
bnagaev@83 | 6 p.sequences[0].pdb_chain_add(open('1jcc.pdb'), '1jcc', 'A') |
bnagaev@83 | 7 |