Results for "Programming with Perl"

Wire posts

  • Looping in R language http://www.r-bloggers.com/a-tutorial-on-loops-in-r-usage-and-alternatives/ #Loop #R #Programming

    3249 days ago

  • Search and replace the string 'this' with the string 'that' in the file filename. perl -p -i -e 's/this/that/g' filename #Perl #Trick #PerlOneLiner #Tipsoftheday #Replace #FindandReplace

    3205 days ago

  • Extract sequences by their ID from a fasta file. perl -ne 'if(/^>(\S+)/){$c=$i{$1}}$c?print:chomp;$i{$_}=1 if @ARGV' ids.txt sample1.fa #Extract #Sequences #IDs #Fasta #Perl #Trick #Oneliner

    3203 days ago

  • Remove the fasta description and just keep the identifier. perl -p -i -e 's/>(.+?) .+/>$1/g' sample1.fa #Perl #Oneliner #Trick #Tips #Fasta #Identifier #Remove

    3203 days ago

  • Check an installed packages in Perl $ perl -e "use GD" #Perl #Check #Package

    1799 days ago

  • #Local #BLAST tutorial http://www.woolfit.net/perl/51blastall.html

    3123 days ago

  • Places where you can #learn to #code http://blog.ted.com/10-places-where-anyone-can-learn-to-code/ #Programming #Script

    3103 days ago

  • To uninstall a perl module $ cpanm --uninstall <Module::Name> #Perl #Trick #Uninstall #Module

    3059 days ago

  • Print all the values between 15 to 17. perl -ne 'print if 15 .. 17' file #Perl #PerlTrick #Range

    3051 days ago

  • Delete space from FASTA header: perl -pe 's/>\S+\K.+//' < file.fasta > new_file.fasta #PerlOneLiner #Trick #Perl #Space #Fasta

    3022 days ago