Results for "lines"

Wire posts

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

    3915 days ago

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

    3630 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

    2734 days ago

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

    2634 days ago

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

    2584 days ago

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

    2545 days ago

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

    2473 days ago

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

    2241 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

    1774 days ago

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

    1397 days ago