comparison cpt.py @ 4:bc16792ecfd2 draft

planemo upload commit ad5355b899dc8f8300c206522e2a65d49809fb73
author cpt
date Wed, 18 Sep 2024 04:25:38 +0000
parents 08499fbf8697
children
comparison
equal deleted inserted replaced
3:08499fbf8697 4:bc16792ecfd2
2 from Bio.Seq import Seq, reverse_complement, translate 2 from Bio.Seq import Seq, reverse_complement, translate
3 from Bio.SeqRecord import SeqRecord 3 from Bio.SeqRecord import SeqRecord
4 from Bio import SeqIO 4 from Bio import SeqIO
5 from Bio.Data import CodonTable 5 from Bio.Data import CodonTable
6 import logging 6 import logging
7 import re 7 import regex as re
8 8
9 logging.basicConfig() 9 logging.basicConfig()
10 log = logging.getLogger() 10 log = logging.getLogger()
11 11
12 PHAGE_IN_MIDDLE = re.compile("^(?P<host>.*)\s*phage (?P<phage>.*)$") 12 PHAGE_IN_MIDDLE = re.compile("^(?P<host>.*)\s*phage (?P<phage>.*)$")