<?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 'count']]></title>
	<link>https://bioinformaticsonline.com/thewire/tag/count?</link>
	<atom:link href="https://bioinformaticsonline.com/thewire/tag/count?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/43348</guid>
	<pubDate>Thu, 02 Sep 2021 06:41:33 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/43348</link>
	<title><![CDATA[Wire post by LEGE]]></title>
	<description><![CDATA[
<p>Count number of fasta sequence $ awk '/^&gt;/ { f = !a[$0]++ } f' aaaa.fa &gt; bbbb.fa #count #fasta #oneliner</p>
]]></description>
	<dc:creator>LEGE</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/38508</guid>
	<pubDate>Thu, 20 Dec 2018 13:18:03 -0600</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/38508</link>
	<title><![CDATA[Wire post by Rahul Nayak]]></title>
	<description><![CDATA[
<p>Add number in fasta header $ awk '/^&gt;/{$0=$0"_"(++i)}1' infile.fa #fasta #header #add #number #count</p>
]]></description>
	<dc:creator>Rahul Nayak</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/37011</guid>
	<pubDate>Fri, 22 Jun 2018 04:41:13 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/37011</link>
	<title><![CDATA[Wire post by Aaryan Lokwani]]></title>
	<description><![CDATA[
<p>Count the contigs length in index fasta file with samtools. $ awk '{s+=$2}END{print s}' scaffolds.fasta.fai   #Fasta #Index #Length #Count #Size #Samtools</p>
]]></description>
	<dc:creator>Aaryan Lokwani</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/34237</guid>
	<pubDate>Wed, 08 Nov 2017 12:05:57 -0600</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/34237</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[
<p>Get the reads in fastq file:  awk '{s++}END{print s/4}' file.fastq #reads #count #ngs #fastq</p>
]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/33654</guid>
	<pubDate>Fri, 23 Jun 2017 05:06:43 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/33654</link>
	<title><![CDATA[Wire post by Rahul Nayak]]></title>
	<description><![CDATA[
<p>Count the number of bases in fasta file. grep -v "&gt;" file.fasta | wc | awk '{print $3-$1}' #Fasta #Count #Bases</p>
]]></description>
	<dc:creator>Rahul Nayak</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/24357</guid>
	<pubDate>Wed, 09 Sep 2015 16:17:11 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/24357</link>
	<title><![CDATA[Wire post by Rahul Nayak]]></title>
	<description><![CDATA[
<p>Count the number of sequences in fastaq file. grep -c '^@' sample1.fq #Fastaq #Count #Number #Grep #Dirty #Oneliner #NGS</p>
]]></description>
	<dc:creator>Rahul Nayak</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/12917</guid>
	<pubDate>Mon, 21 Jul 2014 06:37:42 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/12917</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[
<p>To count number of fasta entries, I use: grep -c '^&gt;' mySequences.fasta #Perl #Count #Number #Fasta #Linux #Grep</p>
]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/11710</guid>
	<pubDate>Wed, 11 Jun 2014 03:54:53 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/11710</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[
<p>Count the number of occurrence of pattern in a file using Perl. perl -e '$_ = &lt;&gt;; print scalar ( () = m/needle/g ), "\n"'  #Perl #Perloneliner #Count #Occurrence</p>
]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/11698</guid>
	<pubDate>Wed, 11 Jun 2014 03:04:58 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/11698</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[
<p>Count the number of "pattern" occurrence in a file grep -o 'pattern' anc.annots.gff | wc -l #Linux #grep #Count #Number #Occurrence</p>
]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/11660</guid>
	<pubDate>Tue, 10 Jun 2014 05:34:41 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/11660</link>
	<title><![CDATA[Wire post by Jit]]></title>
	<description><![CDATA[
<p>Count the total number of lines in a file. my $total=@{[&lt;INFILE&gt;]}; #Perl #Count #Number #Total #File</p>
]]></description>
	<dc:creator>Jit</dc:creator>
</item>
<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/thewire/view/10754</guid>
	<pubDate>Sun, 11 May 2014 10:16:51 -0500</pubDate>
	<link>https://bioinformaticsonline.com/thewire/view/10754</link>
	<title><![CDATA[Wire post by Rahul Nayak]]></title>
	<description><![CDATA[
<p>perl -nle '$count += () = /XY[0-9]+/g; END {print $count}' inputfile #Count #Perl #Perloneliner</p>
]]></description>
	<dc:creator>Rahul Nayak</dc:creator>
</item>

</channel>
</rss>