
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.rajkumar.in/index.php?action=history&amp;feed=atom&amp;title=Blast_est-gdna_sorghum.pl</id>
	<title>Blast est-gdna sorghum.pl - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.rajkumar.in/index.php?action=history&amp;feed=atom&amp;title=Blast_est-gdna_sorghum.pl"/>
	<link rel="alternate" type="text/html" href="https://www.rajkumar.in/index.php?title=Blast_est-gdna_sorghum.pl&amp;action=history"/>
	<updated>2026-07-09T20:32:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://www.rajkumar.in/index.php?title=Blast_est-gdna_sorghum.pl&amp;diff=1588&amp;oldid=prev</id>
		<title>Raj: Created page with &#039;Category:Bioinformatics &lt;source lang=perl&gt; #! /usr/bin/perl -w  # ************************************************************* # This Programme does the following in sequenc…&#039;</title>
		<link rel="alternate" type="text/html" href="https://www.rajkumar.in/index.php?title=Blast_est-gdna_sorghum.pl&amp;diff=1588&amp;oldid=prev"/>
		<updated>2010-04-14T05:48:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;&lt;a href=&quot;/index.php/Category:Bioinformatics&quot; title=&quot;Category:Bioinformatics&quot;&gt;Category:Bioinformatics&lt;/a&gt; &amp;lt;source lang=perl&amp;gt; #! /usr/bin/perl -w  # ************************************************************* # This Programme does the following in sequenc…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Bioinformatics]]&lt;br /&gt;
&amp;lt;source lang=perl&amp;gt;&lt;br /&gt;
#! /usr/bin/perl -w&lt;br /&gt;
&lt;br /&gt;
# *************************************************************&lt;br /&gt;
# This Programme does the following in sequence&lt;br /&gt;
# -&amp;gt; Performs regular Blast&lt;br /&gt;
# -&amp;gt; Modyfy the infile and outfile&lt;br /&gt;
# Author : Rajkumar (itc@rajkumar.in)&lt;br /&gt;
# Release: APR 2010&lt;br /&gt;
# *************************************************************&lt;br /&gt;
&lt;br /&gt;
# Libraries&lt;br /&gt;
	use strict;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# At the top: Time Start&lt;br /&gt;
	my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);&lt;br /&gt;
&lt;br /&gt;
# Variables&lt;br /&gt;
	my $path    = &amp;quot;/home/raj/bio&amp;quot;;&lt;br /&gt;
	my $db      = &amp;quot;$path/sorghum/db/sgdna&amp;quot;;&lt;br /&gt;
	my $query   = &amp;quot;$path/user/rk/pmapping/est_sorghum.fa&amp;quot;;&lt;br /&gt;
	my $outfile = &amp;quot;$path/user/rk/pmapping/est_sorghum.blast.out&amp;quot;;&lt;br /&gt;
	&lt;br /&gt;
	my $cpu     = &amp;quot;4&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
# Functions&lt;br /&gt;
	&lt;br /&gt;
	print &amp;quot;\n\tInitiated Blast on $query .. &amp;quot;;&lt;br /&gt;
	`blastall -p blastn -d $db -i $query -e 10 -m 8 -q -5 -v 5 -o $outfile -a $cpu`;&lt;br /&gt;
			# -p program&lt;br /&gt;
			# -d database&lt;br /&gt;
			# -i query file&lt;br /&gt;
			# -e evalue&lt;br /&gt;
			# -m 8 tab delimited out&lt;br /&gt;
			# -o outfile&lt;br /&gt;
			# -a number of CPUs&lt;br /&gt;
			# -q  Penalty for a nucleotide mismatch (blastn only)   default = -3&lt;br /&gt;
			# -v  Number of database sequences to show one-line&lt;br /&gt;
			# -K  Number of best hits from a region to keep&lt;br /&gt;
	&lt;br /&gt;
	print &amp;quot;All Done!\n\n&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
# At the End: Time Calculation&lt;br /&gt;
	my ($sec_,$min_,$hour_,$mday_,$mon_,$year_,$wday_,$yday_,$isdst_) = localtime(time);&lt;br /&gt;
	my $days = $mday_-$mday;&lt;br /&gt;
	my $hours = $hour_-$hour;&lt;br /&gt;
	my $mins = $min_-$min;&lt;br /&gt;
	my $secs = $sec_-$sec;&lt;br /&gt;
	print &amp;quot;\n------------------------\nDuration: &amp;quot;;&lt;br /&gt;
	if ($days&amp;gt;0) { print &amp;quot;$days days&amp;quot;;}&lt;br /&gt;
	if ($hours&amp;gt;0) { print &amp;quot;: $hours hours&amp;quot;;}&lt;br /&gt;
	if ($mins&amp;gt;0) { print &amp;quot;: $mins mins&amp;quot;;}&lt;br /&gt;
	if ($secs&amp;gt;0) { print &amp;quot;: $secs secs&amp;quot;;}&lt;br /&gt;
	print &amp;quot;\n------------------------\n&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
# END&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Raj</name></author>
	</entry>
</feed>