Generating a random string with Perl
#!/usr/bin/perl # This function generates random strings of a given length sub generate_random_string { my $length_of...ength of # the random string to generate my @chars=('a'..'z','A'.....domstring) { # rand @chars will generate a random # number between...2934 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";...2928 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($l2910 days ago
Blast script to index and extract sequence !!
...TTAAAAAAAGAGTCTC TGACAGCAGCTTCTGAACTGGTTACCTGCCGTGAGTAAATTAAAATTTTATTGACTTAGG TCACTAAATACTTTAACCAATATAGGCATAGCGCACAGACAGATAAAAATTACAGAGTAC # generate the blast database $ makebla...2879 days ago
2279 days ago
Install Parrot Virtual Machine !
...guration. do "lib/Parrot/Config/Generated.pm" failed, '.' is no longer...you mean do "./lib/Parrot/Config/Generated.pm"? at Configure.pl line 84.......done. auto::cpu - Generate CPU specific stuff...................yes. auto::platform - Generate a list of platform object fil...1564 days ago
1543 days ago
2102 days ago
Generate simulated polyploid genome !
#Generate 3% divergence msbar -point 4 -count 16558 toy.fasta > toyheterozygous3perce...cat toy.fasta toymutated3percent.fasta > toyheterozygous3percent.fasta #generated 50X of Illumina paired-end r...2080 days ago
CollectGcBiasMetrics.jar will generate a GC bias plot for each contig
samtools index aln-pe.mapped.sorted.bam for i in $(samtools view -H aln-pe.mapped.sorted.bam | awk -F"\t" '/@SQ/{gsub("^SN:","",$2);print $2}' ); do samtools view -b...2031 days ago