Skip to content

Commit

Permalink
fix clustalw test
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Dec 3, 2024
1 parent a1d5b61 commit c95c25a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
16 changes: 16 additions & 0 deletions prody/tests/datafiles/msa_3hsyA_3o21A_clustalw.fasta
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
>A2
--NSIQIGGLFPRGADQEYSAFRVGMVQFSTSE------FRLTPHIDNLEVANSFAVTNA
FCSQFSRGVYAIFGFYDKKSVNTITSFCGTLHVSFITPSFPTDGTHPFVIQMRPDLKGAL
LSLIEYYQWDKFAYLYDSDRGLSTLQAVLDSAAEKKWQVTAINVGNIN------------
-----RRVILDCERDKVNDIVDQVITIGKHVKGYHYIIANLGFTDGDLLKIQFGGANVSG
FQIVDYDDSLVSKFIERWSTLEEKEYPGAHTATIKYTSALTYDAVQVMTEAFRNLRKQRI
EISRRGNAGDCLANPAVPWGQGVEIERALKQVQVEGLSGNIKFDQNGKRINYTINIMELK
TNGPRKIGYWSEVDKMVVT--------------------
>A3
FPNTISIGGLFMRNTVQEHSAFRFAVQLYNTNQNTTEKPFHLNYHVDHLDSSNSFSVTNA
FCSQFSRGVYAIFGFYDQMSMNTLTSFCGALHTSFVTPSFPTDADVQFVIQMRPALKGAI
LSLLSYYKWEKFVYLYDTERGFSVLQAIMEAAVQNNWQVTARSVGNIKDVQEFRRIIEEM
DRRQEKRYLIDCEVERINTILEQVVILGKHSRGYHYMLANLGFTDILLERVMHGGANITG
FQIVNNENPMVQQFIQRWVRLDEREFPEAKNAPLKYTSALTHDAILVIAEAFRYLRRQRV
DVS-----GDCLANPAVPWSQGIDIERALKMVQVQGMTGNIQFDTYGRRTNYTIDVYEMK
VSGSRKAGYWNEYERFVPF--------------------
5 changes: 2 additions & 3 deletions prody/tests/sequence/test_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,6 @@ def testBuildMSAclustalw(self):
sequences = [ags[0].protein["A"].getSequence(),
ags[1].protein["A"].getSequence()]

expect1 = parseMSA(pathDatafile('msa_3hsyA_3o21A.fasta'))
expect2 = parseMSA(pathDatafile('msa_3hsyA_3o21A_new.fasta'))
expect1 = parseMSA(pathDatafile('msa_3hsyA_3o21A_clustalw.fasta'))
result = buildMSA(sequences, method="clustalw", labels=["A2", "A3"])
assert result in (expect1, expect2), "The list of expected buildMSA results did not contain " + result
assert result == expect1, "The list of expected buildMSA clustalw results did not contain " + result

0 comments on commit c95c25a

Please sign in to comment.