Our Sponsors



Download BioinformaticsOnline(BOL) Apps in your chrome browser.




Perl One-Liner to print only non-uppercase letters

  • Public
By BioStar 1584 days ago
#Go through file and only print words that do not have any uppercase letters. perl -ne 'print unless m/[A-Z]/' dna.fa > dnaOnlyLowercase.fa #To lowercase everything perl -pne 'tr/[A-Z]/[a-z]/' dnaUpperCase.fa >dnawithoutuppercase.fa;