<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://xmlpipedb.lmucs.io/biodb/fall2015/index.php?action=history&amp;feed=atom&amp;title=Blitvak_Week_4</id>
		<title>Blitvak Week 4 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://xmlpipedb.lmucs.io/biodb/fall2015/index.php?action=history&amp;feed=atom&amp;title=Blitvak_Week_4"/>
		<link rel="alternate" type="text/html" href="https://xmlpipedb.lmucs.io/biodb/fall2015/index.php?title=Blitvak_Week_4&amp;action=history"/>
		<updated>2026-05-04T03:02:43Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.25.1</generator>

<tr><td colspan="2" class="diff-lineno" id="L41" ><!--LINE 41--></td>
<td colspan="2" class="diff-lineno"><!--LINE 41--></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>*&lt;code&gt;aaaaggtcggtttaaccggcctttttatt&lt;/code&gt; is 29 characters long, and given that &lt;code&gt;aaaaggt&lt;/code&gt; is 7 characters long, a &#039;&#039;sed&#039;&#039; command that works on the 22 characters after &lt;code&gt;aaaaggt&lt;/code&gt; will be useful.</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>*&lt;code&gt;aaaaggtcggtttaaccggcctttttatt&lt;/code&gt; is 29 characters long, and given that &lt;code&gt;aaaaggt&lt;/code&gt; is 7 characters long, a &#039;&#039;sed&#039;&#039; command that works on the 22 characters after &lt;code&gt;aaaaggt&lt;/code&gt; will be useful.</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>*From the [[More Text Processing Features |More Text Processing Features page]], I learned that &lt;code&gt;sed &#039;:a;N;$!ba;s/\n//g&#039;&lt;/code&gt; removes all of the line-breaks in text and makes it into a single &quot;line&quot;.</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>*From the [[More Text Processing Features |More Text Processing Features page]], I learned that &lt;code&gt;sed &#039;:a;N;$!ba;s/\n//g&#039;&lt;/code&gt; removes all of the line-breaks in text and makes it into a single &quot;line&quot;.</div></td></tr>
<tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class="diffchange">*I later noticed that there weren&#039;t any spaces between the tagged regions and the sequence itself, I added &lt;code&gt;sed -r &quot;s/&lt;minus35box&gt;|&lt;minus10box&gt;|&lt;tss&gt;|&lt;rbs&gt;|&lt;start_codon&gt;|&lt;stop_codon&gt;|&lt;terminator&gt;/ &amp;/g&quot; | sed -r &quot;s/&lt;\/minus35box&gt;|&lt;\/minus10box&gt;|&lt;\/tss&gt;|&lt;\/rbs&gt;|&lt;\/start_codon&gt;|&lt;\/stop_codon&gt;|&lt;\/terminator&gt;/&amp; /g&quot;&lt;/code&gt; to the current chain in order to add the spaces between the tagged regions and the sequence itself.</ins></div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>*I added &lt;code&gt;sed &quot;s/aaaaggt/&lt;terminator&gt;&amp;\n/g&quot; | sed -r &quot;10s/^.{22}/&amp;&lt;\/terminator&gt;/g&quot; | sed &#039;:a;N;$!ba;s/\n//g&#039;&lt;/code&gt; to the current chain; I found that every region was properly tagged and that all of the line-breaks were removed. &lt;code&gt;sed -r &quot;10s/^.{22}/&amp;&lt;\/terminator&gt;/g&quot;&lt;/code&gt; involves the first 22 characters of line 10 because the terminator is 29 bp (22 + 7 = 29).</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>*I added &lt;code&gt;sed &quot;s/aaaaggt/&lt;terminator&gt;&amp;\n/g&quot; | sed -r &quot;10s/^.{22}/&amp;&lt;\/terminator&gt;/g&quot; | sed &#039;:a;N;$!ba;s/\n//g&#039;&lt;/code&gt; to the current chain; I found that every region was properly tagged and that all of the line-breaks were removed. &lt;code&gt;sed -r &quot;10s/^.{22}/&amp;&lt;\/terminator&gt;/g&quot;&lt;/code&gt; involves the first 22 characters of line 10 because the terminator is 29 bp (22 + 7 = 29).</div></td></tr>
<tr><td class='diff-marker'>−</td><td class='diff-deletedline'><div>*The final chain of commands is: &lt;code&gt;cat infA-E.coli-K12.txt | sed &quot;s/tt[gt]ac[at]/&lt;minus35box&gt;&amp;&lt;\/minus35box&gt;\n/1&quot; | sed -r &quot;2s/^.{17}/&amp;&lt;minus10box&gt;\n/g&quot; | sed -r &quot;3s/^.{6}/&amp;&lt;\/minus10box&gt;\n/g&quot; | sed -r &quot;4s/^.{5}/&amp;&lt;tss&gt;\n/g&quot; | sed -r &quot;5s/^.{1}/&amp;&lt;\/tss&gt;\n/g&quot; | sed &quot;s/gagg/&lt;rbs&gt;&amp;&lt;\/rbs&gt;\n/g&quot; | sed -r &quot;7s/atg/&lt;start_codon&gt;&amp;&lt;\/start_codon&gt;\n/1&quot; | sed &quot;s/.../ &amp; /g&quot; | sed -r &quot;8,100000s/taa|tag|tga/&lt;stop_codon&gt;&amp;&lt;\/stop_codon&gt;\n/1&quot; | sed &quot;s/ //g&quot; | sed &quot;s/aaaaggt/&lt;terminator&gt;&amp;\n/g&quot; | sed -r &quot;10s/^.{22}/&amp;&lt;\/terminator&gt;/g&quot; | sed &#039;:a;N;$!ba;s/\n//g&#039;&lt;/code&gt;</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div>*The final chain of commands is: &lt;code&gt;cat infA-E.coli-K12.txt | sed &quot;s/tt[gt]ac[at]/&lt;minus35box&gt;&amp;&lt;\/minus35box&gt;\n/1&quot; | sed -r &quot;2s/^.{17}/&amp;&lt;minus10box&gt;\n/g&quot; | sed -r &quot;3s/^.{6}/&amp;&lt;\/minus10box&gt;\n/g&quot; | sed -r &quot;4s/^.{5}/&amp;&lt;tss&gt;\n/g&quot; | sed -r &quot;5s/^.{1}/&amp;&lt;\/tss&gt;\n/g&quot; | sed &quot;s/gagg/&lt;rbs&gt;&amp;&lt;\/rbs&gt;\n/g&quot; | sed -r &quot;7s/atg/&lt;start_codon&gt;&amp;&lt;\/start_codon&gt;\n/1&quot; | sed &quot;s/.../ &amp; /g&quot; | sed -r &quot;8,100000s/taa|tag|tga/&lt;stop_codon&gt;&amp;&lt;\/stop_codon&gt;\n/1&quot; | sed &quot;s/ //g&quot; | sed &quot;s/aaaaggt/&lt;terminator&gt;&amp;\n/g&quot; | sed -r &quot;10s/^.{22}/&amp;&lt;\/terminator&gt;/g&quot; | sed &#039;:a;N;$!ba;s/\n//g&#039; <ins class="diffchange diffchange-inline">| sed -r &quot;s/&lt;minus35box&gt;|&lt;minus10box&gt;|&lt;tss&gt;|&lt;rbs&gt;|&lt;start_codon&gt;|&lt;stop_codon&gt;|&lt;terminator&gt;/ &amp;/g&quot; | sed -r &quot;s/&lt;\/minus35box&gt;|&lt;\/minus10box&gt;|&lt;\/tss&gt;|&lt;\/rbs&gt;|&lt;\/start_codon&gt;|&lt;\/stop_codon&gt;|&lt;\/terminator&gt;/&amp; /g&quot;</ins>&lt;/code&gt;</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>&#039;&#039;&#039;[[Media:bl_output_final.png|Final Output]]&#039;&#039;&#039;</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>&#039;&#039;&#039;[[Media:bl_output_final.png|Final Output]]&#039;&#039;&#039;</div></td></tr>
<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>===Fully Tagged Sequence===</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>===Fully Tagged Sequence===</div></td></tr>
Exception encountered, of type &quot;Error&quot;<br />
[dc04c9f1] /biodb/fall2015/index.php?action=history&amp;feed=atom&amp;title=Blitvak_Week_4   Error from line 434 of /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php: Call to undefined function each()<br />
Backtrace:<br />
#0 /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php(544): DiffEngine-&gt;diag()<br />
#1 /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php(344): DiffEngine-&gt;compareSeq()<br />
#2 /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php(227): DiffEngine-&gt;diffLocal()<br />
#3 /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php(721): DiffEngine-&gt;diff()<br />
#4 /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php(859): Diff-&gt;__construct()<br />
#5 /apps/xmlpipedb/biodb/fall2015/includes/diff/DairikiDiff.php(980): MappedDiff-&gt;__construct()<br />
#6 /apps/xmlpipedb/biodb/fall2015/includes/diff/TableDiffFormatter.php(194): WordLevelDiff-&gt;__construct()<br />
#7 /apps/xmlpipedb/biodb/fall2015/includes/diff/DiffFormatter.php(140): TableDiffFormatter-&gt;changed()<br />
#8 /apps/xmlpipedb/biodb/fall2015/includes/diff/DiffFormatter.php(82): DiffFormatter-&gt;block()<br />
#9 /apps/xmlpipedb/biodb/fall2015/includes/diff/DifferenceEngine.php(888): DiffFormatter-&gt;format()<br />
#10 /apps/xmlpipedb/biodb/fall2015/includes/diff/DifferenceEngine.php(802): DifferenceEngine-&gt;generateTextDiffBody()<br />
#11 /apps/xmlpipedb/biodb/fall2015/includes/diff/DifferenceEngine.php(733): DifferenceEngine-&gt;generateContentDiffBody()<br />
#12 /apps/xmlpipedb/biodb/fall2015/includes/diff/DifferenceEngine.php(662): DifferenceEngine-&gt;getDiffBody()<br />
#13 /apps/xmlpipedb/biodb/fall2015/includes/FeedUtils.php(155): DifferenceEngine-&gt;getDiff()<br />
#14 /apps/xmlpipedb/biodb/fall2015/includes/actions/HistoryAction.php(325): FeedUtils::formatDiffRow()<br />
#15 /apps/xmlpipedb/biodb/fall2015/includes/actions/HistoryAction.php(290): HistoryAction-&gt;feedItem()<br />
#16 /apps/xmlpipedb/biodb/fall2015/includes/actions/HistoryAction.php(130): HistoryAction-&gt;feed()<br />
#17 /apps/xmlpipedb/biodb/fall2015/includes/actions/FormlessAction.php(43): HistoryAction-&gt;onView()<br />
#18 /apps/xmlpipedb/biodb/fall2015/includes/MediaWiki.php(395): FormlessAction-&gt;show()<br />
#19 /apps/xmlpipedb/biodb/fall2015/includes/MediaWiki.php(273): MediaWiki-&gt;performAction()<br />
#20 /apps/xmlpipedb/biodb/fall2015/includes/MediaWiki.php(566): MediaWiki-&gt;performRequest()<br />
#21 /apps/xmlpipedb/biodb/fall2015/includes/MediaWiki.php(414): MediaWiki-&gt;main()<br />
#22 /apps/xmlpipedb/biodb/fall2015/index.php(44): MediaWiki-&gt;run()<br />
#23 {main}<br />

