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
Polls
The Wire
Videos
Our Sponsors
Download
BioinformaticsOnline(BOL) Apps
in your chrome browser.
The Wire
#count
Wire posts tagged with 'count'
LEGE
@lege
Thread
By
LEGE
1879 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
2866 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
3047 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
3273 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
3411 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
4064 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
4479 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
4519 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
4519 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
4520 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
4550 days ago
perl -nle '$count += () = /XY[0-9]+/g; END {print $count}' inputfile
#Count
#Perl
#Perloneliner