Results for "Count"

Tags

  • perl -nle '$count += () = /XY[0-9]+/g; END {print $count}' inputfile #Count #Perl #Perloneliner

    Tags: Count, Perl, Perloneliner

    3609 days ago

  • Count the total number of lines in a file. my $total=@{[<INFILE>]}; #Perl #Count #Number #Total #File

    Tags: Perl, Count, Number, Total, File

    3579 days ago

  • Count the number of "pattern" occurrence in a file grep -o 'pattern' anc.annots.gff | wc -l #Linux #grep #Count #Number #Occurrence

    Tags: Linux, grep, Count, Number, Occurrence

    3578 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

    Tags: Perl, Perloneliner, Count, Occurrence

    3578 days ago

  • To count number of fasta entries, I use: grep -c '^>' mySequences.fasta #Perl #Count #Number #Fasta #Linux #Grep

    Tags: Perl, Count, Number, Fasta, Linux, Grep

    3538 days ago

  • Count the number of sequences in fastaq file. grep -c '^@' sample1.fq #Fastaq #Count #Number #Grep #Dirty #Oneliner #NGS

    Tags: Fastaq, Count, Number, Grep, Dirty, Oneliner, NGS

    3123 days ago

  • Count the number of bases in fasta file. grep -v ">" file.fasta | wc | awk '{print $3-$1}' #Fasta #Count #Bases

    Tags: Fasta, Count, Bases

    2470 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

    Tags: Fasta, Index, Length, Count, Size, Samtools

    2106 days ago

  • Get the reads in fastq file: awk '{s++}END{print s/4}' file.fastq #reads #count #ngs #fastq

    Tags: reads, count, ngs, fastq

    2332 days ago

  • Add number in fasta header $ awk '/^>/{$0=$0"_"(++i)}1' infile.fa #fasta #header #add #number #count

    Tags: fasta, header, add, number, count

    1925 days ago