A multilayer perceptron (MLP) neural network in Perl
#!/usr/local/bin/perl -w #################################################### #MLP neural network in Perl Original source code by Phil Brierley #Translated into pe...2916 days ago
Extract a random sequence from a file
#!/usr/local/bin/perl -w use strict; use warnings; use autodie; use List::Util qw/ shuffle /; my $outputfile = 'randomoutput.txt'; open my $in_fh, '', $outputfile; m...2915 days ago
Generating a random string with Perl
.../bin/perl # This function generates random strings of a given length sub generate_random_string { my $length_of_ran...ring=shift;# the length of # the random string to generate my @ch...{ # rand @chars will generate a random # number between 0 and sc...2907 days ago
Implementation of biological random mutation with Perl
#!/usr/bin/perl -w use strict; use warnings; #sequence for a better recognition my $DNA="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA \ n";...2901 days ago
Perl script to generate a random psuedo DNA sequence !
#!/usr/bin/perl print "Enter a number of nucleotides: \n"; chomp ($N = ); @b=qw/A T G C/;print ">Genome\n";while($l2883 days ago
Genetic Algorithms demonstration with word DNA in Perl
...undefined individual do { # select a random individual $individual =...$parent (@parent_population) { # select a random individual from the parent po...# with the individual's data # the DNA is a random number my $random_dna = 0;...2372 days ago
Perl script to find coding regions in DNA sequences
...he likelihood ratio is for a current triplet, the ratio between # the probability computed from the table of codon frequencies divided # by the random probability (uniform), that i...2155 days ago
1215 days ago
Create random 10000 SNPs in genome !
...for CNV/inversion/translocation simulation. This simulation use the random seed: 811014067 The option...n specified: titv_ratio = 0.5 [Sun Jan 10 16:05:57 2021] Introducing random SNPs based on the following p...1211 days ago
Create random 1000 INDEL in genome !
...for CNV/inversion/translocation simulation. This simulation use the random seed: 1678440514 The optio...size_powerlaw_constant = 0.5 [Sun Jan 10 16:14:00 2021] Introducing random INDELs based on the following...1211 days ago