2922 days ago
2922 days ago
2922 days ago
2520 days ago
Genetic Algorithms demonstration with word DNA in Perl
...ach my $slot (1..$pop_size) { my $index = sample(\@weights); # we pass a r...on $index die "Undefined index returned by sample(), probably all indiv...ness; } # end of fitness() } # Function to sample from an array of weighted ele...2422 days ago
1567 days ago
2126 days ago
2077 days ago
Finding Kmers from fasta sequence file
Save it in sample.fa >test TAATGCCATGGGATGTT jellyfish count -m 3 -s 100000 sample.fa -o sample.jf jellyfish dump -c sample.jf It return TGT 1 GAT 1 GGG 1 GGA 1 CAT 1 TGC 1 TAA 1 GCC 1 CCA 1 GTT 1 TGG 1 ATG 3 AAT 12023 days ago
Bash script to alignment of short reads against reference genome !
...bwa: bwa mem -t $threads -R '@RG\tID:K12\tSM:K12' --- this says "align using so many threads" and also "give the reads the read group K12 and the sample name K12" #reference and FAS...1610 days ago