2930 days ago
Perl script introduces control structures, arrays and hashes.
...irst_array); my $another_way_of_getting_size_of_array = @first_array; # implicit way print "Scalar of array: $size_of_array\n\n"; print "Perl's index size of array: $#first_array\...2883 days ago
Blast script to index and extract sequence !!
# look at the file $ head EC4115.fa >NC_011353.1 Escherichia coli O157:H7 str. EC4115 chromosome, complete genome. AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAA...2872 days ago
Install ATOM editor on Elemantory OS / Ubuntu
...-service (3.2.6-4ubuntu1) ... Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for l...1196 days ago
Genetic Algorithms demonstration with word DNA in Perl
...e foreach my $slot (1..$pop_size) { my $index = sample(\@weights); # we...weights array here # do sanity checking on $index die "Undefined index retur...le = $i if rand $count [$i]; } # return an index into the weights array retu...2392 days ago
Bash script to convert SAM to BAM visualization ready
samtools view -bS file.sam | samtools sort - file_sorted samtools index test_sorted.bam test_sorted.bai2204 days ago
Perl script to convert GFF 2 FASTA !
...re gene sequence (including UTRs and introns) # upstream3000 - the 3000 upstream region of the gene (likely including the promoter) ### First, index the genome my $file_fasta =...2159 days ago
Long reads mapper bash script !
...echo "Mapping with $toolName" $bwaMemLoc index $refFasta $bwaMemLoc mem...echo "Mapping with $toolName" $lamsaLoc index $refFasta if [ $readsType =...$thread -o $fileName.sorted.bam - && $samtools index -@$thread $fileName.sorted.ba...2143 days ago
2119 days ago
2096 days ago