<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: Wire posts tagged with 'PerlTrick']]></title>
	<link>https://bioinformaticsonline.com/thewire/tag/PerlTrick?</link>
	<atom:link href="https://bioinformaticsonline.com/thewire/tag/PerlTrick?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/29522</guid>
	<pubDate>Wed, 26 Oct 2016 12:43:58 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/29522</link>
	<title><![CDATA[Wire post by Shruti Paniwala]]></title>
	<description><![CDATA[
<p>Slice on the fly with perl: my ($username, $real_name) = (split /:/, $str)[0, 4]; #Perl #PerlTrick #Split</p>
]]></description>
	<dc:creator>Shruti Paniwala</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/29193</guid>
	<pubDate>Fri, 16 Sep 2016 02:57:36 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/29193</link>
	<title><![CDATA[Wire post by Radha Agarkar]]></title>
	<description><![CDATA[
<p>Extract fasta sequence by Ids: perl -ne 'if(/^&gt;(\S+)/){$c=grep{/^$1$/}qw(id1 id2)}print if $c' fasta.file  #Perl #PerlOneliner #PerlTrick #Extract #Ids #Fasta</p>
]]></description>
	<dc:creator>Radha Agarkar</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/29189</guid>
	<pubDate>Thu, 15 Sep 2016 11:15:56 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/29189</link>
	<title><![CDATA[Wire post by Shruti Paniwala]]></title>
	<description><![CDATA[
<p>Rename the fasta name perl -ane 'if(/\&gt;/){$a++; @foo = split /\s+/;$_ = join '_', @foo; print "$_\n"}else{print;}' your.fasta &gt; new.fa #PerlTrick #PerlOneliner #Perl</p>
]]></description>
	<dc:creator>Shruti Paniwala</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/28620</guid>
	<pubDate>Fri, 05 Aug 2016 04:08:30 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/28620</link>
	<title><![CDATA[Wire post by Poonam Mahapatra]]></title>
	<description><![CDATA[
<p>Replace space with tab: perl -lpe 's/\s/\t/g' &lt; trf_file.dat &gt; outfile.txt #TRF #Tab #Space #Replace #Perl #PerlTrick #PerlOneliner</p>
]]></description>
	<dc:creator>Poonam Mahapatra</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/28604</guid>
	<pubDate>Wed, 03 Aug 2016 09:36:26 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/28604</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[
<p>Remove tab with comma in file: perl -lpe 's/\t/,/g' &lt; flattened_line_0.fa.data &gt; output.csv #PerlTrick #PerlO,liner #Perl #Tab #Comma</p>
]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/26317</guid>
	<pubDate>Mon, 08 Feb 2016 13:09:15 -0600</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/26317</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[
<p>Print all the values between 15 to 17. perl -ne 'print if 15 .. 17' file #Perl #PerlTrick #Range</p>
]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/23230</guid>
	<pubDate>Thu, 09 Jul 2015 19:55:02 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/23230</link>
	<title><![CDATA[Wire post by Jitendra Narayan]]></title>
	<description><![CDATA[
<p>Print all possible 2 combination of words ( ATGC): $letter = join',','A','T','G','C'; @abc=glob "{$letter}{$letter}"; foreach (@abc) { print "$_\n"; } #Perl #PerlTrick #TipsOftheDay</p>
]]></description>
	<dc:creator>Jitendra Narayan</dc:creator>
</item>

</channel>
</rss>