Posts

Showing posts from June, 2016

exit from subroutine perl

last, next, exit all do not work for exit from subroutine but return works for exit from subroutine example input 12 sub fun {   my $number = shift;   if($number == 12){ print "\n ok bye i am going to outside from subroutine \n"; return;   }   print "\n anop singh ranawat \n"; }  my $number = <>;  &fun($number);   print "\n have a nice day \n"; result  ok bye i am going to outside from subroutine have a nice day

perl6 module install

panda install "module name" https://modules.perl6.org/

calculate insert size paired end reads

install samtools samtools sort sample.bam > sort_sample.bam samtools stats sort_sample.bam | grep "insert size average" > output.txt more output.txt

cosmic database download

1) install ANNOVAR 2) mkdir humandb 3) annotate_variation.pl --buildver hg19 --downdb -webfrom annovar cosmic70 /humandb
Image
basespace FASTA-Upload click on launch