<?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 'Trick']]></title>
	<link>https://bioinformaticsonline.com/thewire/tag/Trick?</link>
	<atom:link href="https://bioinformaticsonline.com/thewire/tag/Trick?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/30835</guid>
	<pubDate>Mon, 06 Feb 2017 05:14:06 -0600</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/30835</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[
<p>while (!eof(IN)) { } #Perl #Trick</p>
]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/30547</guid>
	<pubDate>Wed, 18 Jan 2017 03:59:18 -0600</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/30547</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[
<p>Delete size zero files from a folder: find . -size 0 -delete #Linux #Trick</p>
]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/28402</guid>
	<pubDate>Tue, 12 Jul 2016 05:07:55 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/28402</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[
<p>To know about your OS: lsb_release -ra #Trick #OS #Linux</p>
]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/28110</guid>
	<pubDate>Mon, 27 Jun 2016 08:39:50 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/28110</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[
<p>Check if BAM file is sorted or not use: for F in `find . -name "*.bam"`; do echo $F; samtools index ${F} ; done  #Sort #BAM #Trick</p>
]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/26707</guid>
	<pubDate>Wed, 16 Mar 2016 11:07:30 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/26707</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[
<p>Perl common flags http://perldoc.perl.org/functions/-X.html # Perl #Flags #Trick</p>
]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/26633</guid>
	<pubDate>Sun, 13 Mar 2016 13:59:21 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/26633</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[
<p>Print all text after a matching string perl -ne "print unless 1 .. m(String)" #Perl #OneLiner #String #Perl #Trick</p>
]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/26583</guid>
	<pubDate>Wed, 09 Mar 2016 08:23:46 -0600</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/26583</link>
	<title><![CDATA[Wire post by Neel]]></title>
	<description><![CDATA[
<p>Delete space from FASTA header: perl -pe 's/&gt;\S+\K.+//' &lt; file.fasta &gt; new_file.fasta #PerlOneLiner #Trick #Perl #Space #Fasta</p>
]]></description>
	<dc:creator>Neel</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/26242</guid>
	<pubDate>Mon, 01 Feb 2016 05:15:33 -0600</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/26242</link>
	<title><![CDATA[Wire post by Rahul Nayak]]></title>
	<description><![CDATA[
<p>To uninstall a perl module $ cpanm --uninstall &lt;Module::Name&gt; #Perl #Trick #Uninstall #Module</p>
]]></description>
	<dc:creator>Rahul Nayak</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/24353</guid>
	<pubDate>Wed, 09 Sep 2015 16:05:55 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/24353</link>
	<title><![CDATA[Wire post by Rahul Nayak]]></title>
	<description><![CDATA[
<p>Remove the fasta description and just keep the identifier. perl -p -i -e 's/&gt;(.+?) .+/&gt;$1/g' sample1.fa #Perl #Oneliner #Trick #Tips #Fasta #Identifier #Remove</p>
]]></description>
	<dc:creator>Rahul Nayak</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/24351</guid>
	<pubDate>Wed, 09 Sep 2015 16:01:53 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/24351</link>
	<title><![CDATA[Wire post by Rahul Nayak]]></title>
	<description><![CDATA[
<p>Extract sequences by their ID from a fasta file. perl -ne 'if(/^&gt;(\S+)/){$c=$i{$1}}$c?print:chomp;$i{$_}=1 if @ARGV' ids.txt sample1.fa #Extract #Sequences #IDs #Fasta #Perl #Trick #Oneliner</p>
]]></description>
	<dc:creator>Rahul Nayak</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/24323</guid>
	<pubDate>Mon, 07 Sep 2015 12:14:57 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/24323</link>
	<title><![CDATA[Wire post by Rahul Nayak]]></title>
	<description><![CDATA[
<p>Search and replace the string 'this' with the string 'that' in the file filename. perl -p -i -e 's/this/that/g' filename #Perl #Trick #PerlOneLiner #Tipsoftheday #Replace #FindandReplace</p>
]]></description>
	<dc:creator>Rahul Nayak</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/24319</guid>
	<pubDate>Mon, 07 Sep 2015 12:11:28 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/24319</link>
	<title><![CDATA[Wire post by Rahul Nayak]]></title>
	<description><![CDATA[
<p>Display top 10 Mrmory resource intensive processes in order $ line=$(ps aux | head -n 1) &amp;&amp; echo $line; ps aux | sort -nrk 5 | head #Display #Top10 #Memory #Processes #Linux #Trick</p>
]]></description>
	<dc:creator>Rahul Nayak</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/23767</guid>
	<pubDate>Thu, 13 Aug 2015 00:36:31 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/23767</link>
	<title><![CDATA[Wire post by Rahul Nayak]]></title>
	<description><![CDATA[
<p>Sort FASTA sequence by length: cat f1.fasta| awk '{if($0 ~ /^&gt;/){printf "%st", $0}else{print length($0)"t"$0}}'| sort -k2n,2| awk '{print $1"n"$3}' &gt; sequence.fasta #Sort #Fasta #Trick #Onliner</p>
]]></description>
	<dc:creator>Rahul Nayak</dc:creator>
</item>

</channel>
</rss>