<pre>... <stop_codon>...</stop_codon> ...</pre>
 
<pre>... <stop_codon>...</stop_codon> ...</pre>
 
* The stop codon indicates a new challenge. Following the start codon, the sequence must be read in groups of three. As a result, I must space out each of the codons before making the search to ensure that the stop codon is in the same reading frame as the start codon. To do this, I began with putting a newline after the end tag of the start codon in the way to how I added a newline after the rbs. Then, I knew I needed to space each codon. Having used this command in the [[Nanguiano_Week_3 | week 3 assignment]], I knew exactly what command to use: <code>sed "s/.../& /g"</code>, only this time I would include a 5 before the s to indicate that it needs to search the fifth line. There are three possibilities as to what the stop codon can be: tga, tag, or taa. This requires me to use an or command that can search for not just one possibility, but for many. The way this is done is by putting a "|" character in between possibilities. So I could search the fifth line for <code>tga|tag|taa</code> in sed after passing in the parameter -r. Then, I would need to remove the spaces between the codons, and put spaces between the tags. The command that I created was as follows:  
 
* The stop codon indicates a new challenge. Following the start codon, the sequence must be read in groups of three. As a result, I must space out each of the codons before making the search to ensure that the stop codon is in the same reading frame as the start codon. To do this, I began with putting a newline after the end tag of the start codon in the way to how I added a newline after the rbs. Then, I knew I needed to space each codon. Having used this command in the [[Nanguiano_Week_3 | week 3 assignment]], I knew exactly what command to use: <code>sed "s/.../& /g"</code>, only this time I would include a 5 before the s to indicate that it needs to search the fifth line. There are three possibilities as to what the stop codon can be: tga, tag, or taa. This requires me to use an or command that can search for not just one possibility, but for many. The way this is done is by putting a "|" character in between possibilities. So I could search the fifth line for <code>tga|tag|taa</code> in sed after passing in the parameter -r. Then, I would need to remove the spaces between the codons, and put spaces between the tags. The command that I created was as follows:  
Exception encountered, of type "Error"
[d0551074] /biodb/fall2015/index.php?diff=next&oldid=1678&title=Nanguiano_Week_4 Error from line 434 of /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php: Call to undefined function each()
Backtrace:
#0 /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php(544): DiffEngine->diag()
#1 /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php(344): DiffEngine->compareSeq()
#2 /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php(227): DiffEngine->diffLocal()
#3 /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php(721): DiffEngine->diff()
#4 /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php(859): Diff->__construct()
#5 /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php(980): MappedDiff->__construct()
#6 /apps/xmlpipedb/biodb/fall2015/includes/diff/TableDiffFormatter.php(194): WordLevelDiff->__construct()
#7 /apps/xmlpipedb/biodb/fall2015/includes/diff/DiffFormatter.php(140): TableDiffFormatter->changed()
#8 /apps/xmlpipedb/biodb/fall2015/includes/diff/DiffFormatter.php(82): DiffFormatter->block()
#9 /apps/xmlpipedb/biodb/fall2015/includes/diff/DifferenceEngine.php(888): DiffFormatter->format()
#10 /apps/xmlpipedb/biodb/fall2015/includes/diff/DifferenceEngine.php(802): DifferenceEngine->generateTextDiffBody()
#11 /apps/xmlpipedb/biodb/fall2015/includes/diff/DifferenceEngine.php(733): DifferenceEngine->generateContentDiffBody()
#12 /apps/xmlpipedb/biodb/fall2015/includes/diff/DifferenceEngine.php(662): DifferenceEngine->getDiffBody()
#13 /apps/xmlpipedb/biodb/fall2015/includes/diff/DifferenceEngine.php(632): DifferenceEngine->getDiff()
#14 /apps/xmlpipedb/biodb/fall2015/includes/diff/DifferenceEngine.php(453): DifferenceEngine->showDiff()
#15 /apps/xmlpipedb/biodb/fall2015/includes/page/Article.php(795): DifferenceEngine->showDiffPage()
#16 /apps/xmlpipedb/biodb/fall2015/includes/page/Article.php(506): Article->showDiffPage()
#17 /apps/xmlpipedb/biodb/fall2015/includes/actions/ViewAction.php(44): Article->view()
#18 /apps/xmlpipedb/biodb/fall2015/includes/MediaWiki.php(395): ViewAction->show()
#19 /apps/xmlpipedb/biodb/fall2015/includes/MediaWiki.php(273): MediaWiki->performAction()
#20 /apps/xmlpipedb/biodb/fall2015/includes/MediaWiki.php(566): MediaWiki->performRequest()
#21 /apps/xmlpipedb/biodb/fall2015/includes/MediaWiki.php(414): MediaWiki->main()
#22 /apps/xmlpipedb/biodb/fall2015/index.php(44): MediaWiki->run()
#23 {main}