Install BLAST in Ubuntu/Linux and Window !
...installation conda install -c bioconda blast #Windows installation First: Download ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.7.1/ncbi-blast-2.7.1+-win64.exe with your web browser. #...1150 days ago
2920 days ago
Read lines from input file – print lines that match a regular expression
...$line; #read the line-by-line for each line ask if it matches the regex print it if it matches whi...*[ATCG]+?A{3,10}$/) { print "$line\n"; } } exit(); __DATA__ ATGCCCAA A...2920 days ago
Check if your coputer ready to use BioPerl
#!/usr/bin/perl use strict; use warnings; #bioperl example code use strict; use warnings; #make the bioperl module (class) accessible to your program use Bio::Seq; print"ok - ready to use Bio::Seq";2920 days ago
Parse a genbank file using regular expressions
#! /usr/local/bin/perl -w $genbank = "genbank_file.txt"; open (GENBANK, $genbank) || die "cannot op...ene length: $5\n"; } elsif (/(CDS\s*)(\d*)(\.\.)(\d*)/) { # ex: CDS 357..1541...2920 days ago
Perl script to Mutate a DNA Sequence
...the DNA sequence and generates 10 successive mutation results. # While executing this script it asks fo...ame directory of this script, enter the file name with its full path. # Example: # In windows: c:\rnaf...2919 days ago
Perl script to count the number of Adenine, Thymine, Guanine and Cytosine in your DNA Sequence
#!/usr/local/bin/perl -w # While executing this script it asks for the file name of the DNA...e of the file along with the path. In windows: c:\dnafile.txt, In Linux: /home/user/sequence/dnafile.txt print "ENTER THE FILENAME...2919 days ago
Retrieve NCBI GenBank records with a range of accession numbers
...retries => 0, maxRetries => 5, help...) { print_usage(); exit(0); } if ( !( defined...( $param{retries} >= $param{maxRetries} ) { die(...( $param{retries} >= $param{maxRetries} ) {...2919 days ago
A multilayer perceptron (MLP) neural network in Perl
...004 #################################################### #Tanh hidden neurons #Linear output neuron #To include an input bias create an #extra input in the training data...2919 days ago
Extract a random sequence from a file
...w/ shuffle /; my $outputfile = 'randomoutput.txt'; open my $in_fh, '', $o...$count = 10; while (my $line = ) { next unless $line =~ /^([ATGCN]+)..._points = shuffle(0 .. $len_genome-$size); next unless @start_points >= $cou...2918 days ago