sed “s/[acug]//g”
 
  sed “s/[acug]//g”
   −
I then proceeded with the rest of the commands so the list of commands looked like this:
+
I then proceeded with the rest of the commands so the list of commands looked like this:
 
  cat infA-E.coli-K12.txt | sed "s/^.//g" | sed "s/t/u/g" | sed "s/.../& /g" | sed -f genetic-code.sed | sed “s/[acug]//g”
 
  cat infA-E.coli-K12.txt | sed "s/^.//g" | sed "s/t/u/g" | sed "s/.../& /g" | sed -f genetic-code.sed | sed “s/[acug]//g”
    
For the -2 and -3 reading frames I just needed to add the same command sed "s/^.//g" (for -2) and sed "s/^..//g" (for frame -3), with each (.) indicating the deletion of one nucleotide. I inserted this right after reversing the sequence so that it did not mess with the translated sequence, which would affect how the sequence was transcribed later on in the set. For -2 the command set was  
 
For the -2 and -3 reading frames I just needed to add the same command sed "s/^.//g" (for -2) and sed "s/^..//g" (for frame -3), with each (.) indicating the deletion of one nucleotide. I inserted this right after reversing the sequence so that it did not mess with the translated sequence, which would affect how the sequence was transcribed later on in the set. For -2 the command set was  
   −
cat infA-E.coli-K12.txt | sed "y/atcg/tagc/" | rev | sed "s/^.//g" | sed "s/t/u/g" | sed "s/.../& /g" | sed -f genetic-code.sed | sed "s/[acug]//g"
+
cat infA-E.coli-K12.txt | sed "y/atcg/tagc/" | rev | sed "s/^.//g" | sed "s/t/u/g" | sed "s/.../& /g" | sed -f genetic-code.sed | sed "s/[acug]//g"
    
For the -3 reading frame the command set was  
 
For the -3 reading frame the command set was  
   −
cat infA-E.coli-K12.txt | sed "y/atcg/tagc/" | rev | sed "s/^..//g" | sed "s/t/u/g" | sed "s/.../& /g" | sed -f genetic-code.sed | sed "s/[acug]//g"
+
cat infA-E.coli-K12.txt | sed "y/atcg/tagc/" | rev | sed "s/^..//g" | sed "s/t/u/g" | sed "s/.../& /g" | sed -f genetic-code.sed | sed "s/[acug]//g"
    
I checked these sequences using the ExPASy Translate tool from the Bioinformatics Resource Portal and verified that they worked correctly.  
 
I checked these sequences using the ExPASy Translate tool from the Bioinformatics Resource Portal and verified that they worked correctly.  
 
#* How many unique matches are there? '''3'''
 
#* How many unique matches are there? '''3'''
 
#* How many times does each unique match appear? '''The first appears 113 times, the second appears 1,100 times, and the third appears 1,371 times.'''
 
#* How many times does each unique match appear? '''The first appears 113 times, the second appears 1,100 times, and the third appears 1,371 times.'''
Exception encountered, of type "Error"
[253372a0] /biodb/fall2015/index.php?diff=cur&oldid=1570&title=Kzebrows_Week_3 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}