Results for "Perl"

Tags

  • Print all possible 2 combination of words ( ATGC): $letter = join',','A','T','G','C'; @abc=glob "{$letter}{$letter}"; foreach (@abc) { print "$_\n"; } #Perl #PerlTrick #TipsOftheDay

    Tags: Perl, PerlTrick, TipsOftheDay

    3210 days ago

  • Besides, I wasn't trying to help them understand. I was only trying to help them think they understand. --#Larry Wall #Perl #Quotes

    Tags: Larry, Perl, Quotes

    3204 days ago

  • install PAR::Packer in unbuntu. $ sudo apt-get install libpar-packer-perl #pp #Perl #Ubuntu

    Tags: pp, Perl, Ubuntu

    1127 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

    Tags: Perl, Trick, PerlOneLiner, Tipsoftheday, Replace, FindandReplace

    3151 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

    Tags: Extract, Sequences, IDs, Fasta, Perl, Trick, Oneliner

    3149 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

    Tags: Perl, Oneliner, Trick, Tips, Fasta, Identifier, Remove

    3149 days ago

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

    Tags: Perl, Trick, Uninstall, Module

    3004 days ago

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

    Tags: Perl, PerlTrick, Range

    2997 days ago

  • BioToolbox

    This is a collection of libraries and high-quality end-user scripts for bioinformatic analysis, including working with gene annotation, collecting data scores from a variety of modern file formats, and conversion between file formats. The Bio::ToolBox libraries provide a unified, abstracted inter...

    Tags: Bioinformatics, Guide, Tutorial, Perl, Script, Toolbox, Bio

    2986 days ago

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

    Tags: PerlOneLiner, Trick, Perl, Space, Fasta

    2967 days ago