English 中文(简体)
Biopython - Testing Techniques
  • 时间:2024-12-22

Biopython - Testing Techniques


Previous Page Next Page  

Biopython have extensive test script to test the software under different conditions to make sure that the software is bug-free. To run the test script, download the source code of the Biopython and then run the below command −

python run_tests.py

This will run all the test scripts and gives the following output −

Python version: 2.7.12 (v2.7.12:d33e0cf91556, Jun 26 2016, 12:10:39) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] 
Operating system: posix darwin 
test_Ace ... ok 
test_Affy ... ok 
test_ApgnIO ... ok 
test_ApgnIO_ClustalIO ... ok 
test_ApgnIO_EmbossIO ... ok 
test_ApgnIO_FastaIO ... ok 
test_ApgnIO_MauveIO ... ok 
test_ApgnIO_PhyppIO ... ok 
test_ApgnIO_convert ... ok 
........................................... 
...........................................

We can also run inspanidual test script as specified below −

python test_ApgnIO.py

Conclusion

As we have learned, Biopython is one of the important software in the field of bioinformatics. Being written in python (easy to learn and write), It provides extensive functionapty to deal with any computation and operation in the field of bioinformatics. It also provides easy and flexible interface to almost all the popular bioinformatics software to exploit the its functionapty as well.

Advertisements