70 likes | 204 Views
Python study. 4 th day Modules. Homework check!. Modules. What is the module? Group of functions, but is not built in default python Have to import to use. Modules. Import module Ex) i mport sys i mport os from Bio.Seq import Seq. Modules. sys.argv [n] Setting argument
E N D
Python study 4th day Modules
Modules • What is the module? • Group of functions, but is not built in default python • Have to import to use
Modules • Import module • Ex) • import sys • import os • from Bio.Seq import Seq
Modules • sys.argv[n] • Setting argument • Command) • python python_file.py sys.argv[1] sys.argv[2]
Modules • os.system() • Execute linux function by python • glob() • Retrieve file list as list • Usage of both)
Modules • Biopython • For transcription • For translation • For get reverse, complementary or reverse complementary sequences • For any other bio related work • Usage) • You can search the usage of biopython module, just search ‘Biopython’ in google!