Results for "lines"

Wire posts

  • Number all lines in a file; perl -pe '$_ = "$. $_"': #Tipsoftheday #Perl

    3946 days ago

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

    3661 days ago

  • Extract ten lines below matched string with grep: grep -A 10 "string" filename1 ; -B for above and -C for both #grep #Linux #Tricks #Lines #Matches

    2765 days ago

  • Remove all blank lines from file. perl -i.bak -n -e "print if /\S/" ../finalSample.fa #Perl #Tricks #PerlOneliner

    2666 days ago

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

    2615 days ago

  • Filter #blank #lines from a #fasta file using sed. $ sed '/^$/d' finalSample.fa > finalSample_filtered.fa #Linux #Filter #FASTA #SED

    2576 days ago

  • Remove duplicated lines from text file. $ awk '!seen[$0]++' allIds #duplicate #lines #remove #awk

    2504 days ago

  • https://web.expasy.org/cellosaurus/- a knowledge resource on cell lines #Cell #line #DB

    2272 days ago

  • Teach R to read handwritten Digits with just 4 Lines of Code https://www.r-bloggers.com/teach-r-to-read-handwritten-digits-with-just-4-lines-of-code/ #read #handwritten #digits #code #R

    1806 days ago

  • Sort and get the best first of duplicated lines $ sort -k3rn file | sort -u -k1,1 #Sort #Duplicated #Value

    1428 days ago