Results for "Replace"

Blogs

  • AWK for beginners !

    ...many of which rely heavily on regular expressions. # Search and replace, first instance (sub) or all instances (gsub) # Both return number of matches replaced localvar = "fooooobar";...

    1837 days ago

  • Perl one-liner for beginners !

    ...s//\n/' all.sent.classOnly > all.sent.classOnly.sep Replace all occurrences of pattern1 (...delete every character that is not a letter, white space or line end (replace with nothing) perl -pne&...

    1382 days ago

  • +1 more Blogs

Bookmarks

  • Tetra-Nucleotide Analysis

    ...it weak, phylogenetic signals. Even though tetra-nucleotide analysis (TNA) utilizes the information of whole genome, it is evident that it cannot replace other alignment-based phyloge...

    2559 days ago

Files

  • Clean the FASTA file

    Mostly FASTA file contain NNN characters, which can be replace by random A T G C character with this perl script. It also print the FASTA sequence name, N's counts, nucleotide count and percentage details at command prompt/standard output.  

    3867 days ago

Pages

Top-level pages

Wire posts

  • Remove N from a fasta file. Go to vi editor, type :%s/N\{25,\}//g and press enter. #Vim #vi #N #Replace #Fasta

    3622 days ago

  • Creates 100 random DNA sequences with 20 residues. sapply(1:100, function(x) paste(sample(c("A","T","G","C"), 20, replace=T), collapse="")) #R #Random #Sequence #DNA #Script

    3626 days ago

  • +7 more Wire posts

Bio-Scripts

Tags

  • Remove N from a fasta file. Go to vi editor, type :%s/N\{25,\}//g and press enter. #Vim #vi #N #Replace #Fasta

    Tags: Vim, vi, N, Replace, Fasta

    3622 days ago

  • replace a word in all files in a directory: grep -lr --exclude-dir=".git" -e "oldword" . | xargs sed -i "s/oldword/newword/g" #Replace #Word #Linux

    Tags: Replace, Word, Linux

    3533 days ago

  • +5 more Tags

Comments