Install BLAST in Ubuntu/Linux and Window !
#On ubuntu sudo apt-get install ncbi-blast+ #Ubuntu Conda installation conda install -c bioconda blast #Windows installation First: Download ftp://ftp.ncbi.nlm.nih...1153 days ago
Retrieve NCBI GenBank records with a range of accession numbers
...warnings; use strict; use Getopt::Long; use LWP::Simple; use URI::Escape; use LWP::UserAgent; use...$param{returnType} = lc( $param{returnType} ); $param{query} = uri_escape( $param{query} ); _doSear...2922 days ago
2916 days ago
Needleman-Wunsch Algorithm in Perl
...nt algo (GOTHO 1982 mod) # usage statement die "usage: $0 \n" unless @ARGV == 4; # get sequences, matrix and gapcost from command line my ($seq1, $seq2, $smfile, $gapcost) = @ARGV; # scoring sc...2912 days ago
2878 days ago
2699 days ago
Calculate some statistics for a DNA alignment with Perl
...ormat => 'fasta', -file => 't/data/nei_gojobori_test.aln'); my $alnobj = $in->next_aln; my ($seq1id,$seq2id) = map { $_->display_id } $alnobj->e...2655 days ago
2642 days ago
Check overlapping range with Perl
#!/usr/bin/perl use strict; use warnings; my @ranges = 0; push @ranges, $ranges[-1] + 1 + int rand 200 for 1..10000; my @tests = map int rand $ranges[-1], 0..1000000; matc...2633 days ago
Download the genome from NCBI using bash script/command
...echo "Processing $f file..." filename=$(basename "$f") extension="${filename##*.}" filename="${filename%.*}" # Create a directory with appending G mkdir "G$filename...2538 days ago