Results for "Paired-End"

Wire posts

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

    3609 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

    2106 days ago

  • PAired-eND Assembler for DNA sequences https://github.com/neufeld/pandaseq #Sequence #Assembler #PANDAseq

    2913 days ago

  • Fasta sequence length: awk '/^>/ {if (seqlen){print seqlen}; print ;seqlen=0;next; } { seqlen += length($0)}END{print seqlen}' file.fa #Length #Linux #OneLiner

    2621 days ago

  • Add color to vim. Open vi .vimrc and at the end of the file add "syntax on" #Vim #Syntax #Highlight #Vi #Linux

    2578 days ago

  • To add something to end of all header lines: $ sed 's/>.*/&WHATEVERYOUWANT/' file.fa > outfile.fa #Add #Fasta

    2533 days ago

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

    2332 days ago

  • Print the lqst line of the file zith Perl. $ perl -ne 'END {print $last} $last= $_ if /\S/' blocks_coords.gff #Last #Line #Perl

    1717 days ago

  • #Convert a #multi-line #fasta to a #singleline #fasta $ awk '!/^>/ { printf "%s", $0; n = "\n" } /^>/ { print n $0; n = "" } END { printf "%s", n }' sample1.fa > sample1_singleline.fa

    2116 days ago

  • #Multiline Fasta To #SingleLine Fasta $ awk '/^>/ {printf("\n%s\n",$0);next; } { printf("%s",$0);} END {printf("\n");}' < file.fa

    2039 days ago