839 days ago
Commands to get the detail of disk usage on Linux !
#A simplistic approach would be du -shc /home/* du -shc /home/jnarayan #To sort it: du -smc /home/* | sort -n #There is also a wellknown Perl script that has the option of mailing disk usage reports per user: durep http://www.ubuntugeek.com/create-disk-usage-reports-with-durep.html817 days ago
813 days ago
666 days ago
Identify genome-wide synteny with LASTZ alignment
#This is the walkstrough how to identifiy genome-wide synteny markers based on LASTZ alignment. Step1:Mask the repeat sequences for both genomes and chromosomes. RepeatMa...518 days ago
Perl script for chi-squared test !
...e "Can't open $ARGV[0]\n"; my $fasta = new FAlite(\*FILE); # loop through each sequence in file 1 whi...try) { my $seq = uc($entry->seq); # to count dinucleotides, loop through sequence, take 2 bp and incr...412 days ago
Perl script to calculate the basic stats of the assembled genome !
...ile, -format => 'fasta'); # Variables for computing statistics my $total_length = 0; my $num_contigs = 0; my @contig_lengths; # Iterate through each sequence in the assembl...95 days ago
Python script for basic stats of the assembled genome !
...nput_file = 'genome_assembly.fasta' # Variables for computing statistics total_length = 0 num_contigs = 0 contig_lengths = [] # Iterate through each sequence in the assembl...95 days ago