X
Alternative content
BOL
Log in
Username or email
Password
Remember me
Register
Lost password
Activity
News
Opportunity
ResearchLabs
Questions
Pages
Discussion
More
BioScripts
Blogs
Bookmarks
Files
Fun
Groups
Polls
The Wire
Tryst
Videos
Our Sponsors
Download
BioinformaticsOnline(BOL) Apps
in your chrome browser.
The Wire
#Count
Wire posts tagged with 'Count'
LEGE
@lege
Thread
By
LEGE
1207 days ago
Count number of fasta sequence $ awk '/^>/ { f = !a[$0]++ } f' aaaa.fa > bbbb.fa
#count
#fasta
#oneliner
Rahul Nayak
@rahul
Thread
By
Rahul Nayak
2193 days ago
Add number in fasta header $ awk '/^>/{$0=$0"_"(++i)}1' infile.fa
#fasta
#header
#add
#number
#count
Aaryan Lokwani
@aaryan
Thread
By
Aaryan Lokwani
2375 days ago
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
Jit
@jit.aber
Thread
By
Jit
2600 days ago
Get the reads in fastq file: awk '{s++}END{print s/4}' file.fastq
#reads
#count
#ngs
#fastq
Rahul Nayak
@rahul
Thread
By
Rahul Nayak
2739 days ago
Count the number of bases in fasta file. grep -v ">" file.fasta | wc | awk '{print $3-$1}'
#Fasta
#Count
#Bases
Rahul Nayak
@rahul
Thread
By
Rahul Nayak
3391 days ago
Count the number of sequences in fastaq file. grep -c '^@' sample1.fq
#Fastaq
#Count
#Number
#Grep
#Dirty
#Oneliner
#NGS
Jit
@jit.aber
Thread
By
Jit
3807 days ago
To count number of fasta entries, I use: grep -c '^>' mySequences.fasta
#Perl
#Count
#Number
#Fasta
#Linux
#Grep
Jit
@jit.aber
Thread
By
Jit
3847 days ago
Count the number of occurrence of pattern in a file using Perl. perl -e '$_ = <>; print scalar ( () = m/needle/g ), "\n"'
#Perl
#Perloneliner
#Count
#Occurrence
Jit
@jit.aber
Thread
By
Jit
3847 days ago
Count the number of "pattern" occurrence in a file grep -o 'pattern' anc.annots.gff | wc -l
#Linux
#grep
#Count
#Number
#Occurrence
Jit
@jit.aber
Thread
By
Jit
3848 days ago
Count the total number of lines in a file. my $total=@{[<INFILE>]};
#Perl
#Count
#Number
#Total
#File
Rahul Nayak
@rahul
Thread
By
Rahul Nayak
3878 days ago
perl -nle '$count += () = /XY[0-9]+/g; END {print $count}' inputfile
#Count
#Perl
#Perloneliner