
<?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=BES-NR_blast.pl</id>
	<title>BES-NR blast.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=BES-NR_blast.pl"/>
	<link rel="alternate" type="text/html" href="https://www.rajkumar.in/index.php?title=BES-NR_blast.pl&amp;action=history"/>
	<updated>2026-07-09T20:38:01Z</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=BES-NR_blast.pl&amp;diff=1864&amp;oldid=prev</id>
		<title>Raj at 11:31, 16 July 2010</title>
		<link rel="alternate" type="text/html" href="https://www.rajkumar.in/index.php?title=BES-NR_blast.pl&amp;diff=1864&amp;oldid=prev"/>
		<updated>2010-07-16T11:31:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:31, 16 July 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Bioinformatics]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Bioinformatics]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/del&gt;lang=perl&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=perl&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#! /usr/bin/perl -w&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#! /usr/bin/perl -w&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# *************************************************************&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# *************************************************************&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Raj</name></author>
	</entry>
	<entry>
		<id>https://www.rajkumar.in/index.php?title=BES-NR_blast.pl&amp;diff=1863&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=BES-NR_blast.pl&amp;diff=1863&amp;oldid=prev"/>
		<updated>2010-07-16T11:30:31Z</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;
# This Programme does the following in sequence&lt;br /&gt;
# -&amp;gt; Parses a multi fasta&lt;br /&gt;
# -&amp;gt; Removes the sequence if they have &amp;lt;50bp and of &amp;#039;N&amp;#039;&lt;br /&gt;
# -&amp;gt; Capured as individual files.&lt;br /&gt;
# Author : Rajkumar (itc@rajkumar.in)&lt;br /&gt;
# Release: JUL 2009&lt;br /&gt;
# *************************************************************&lt;br /&gt;
&lt;br /&gt;
# Libraries&lt;br /&gt;
	use strict;&lt;br /&gt;
	use Bio::Perl;&lt;br /&gt;
	use Bio::SeqIO;&lt;br /&gt;
&lt;br /&gt;
# Variables&lt;br /&gt;
	my $path        = &amp;quot;/home/raj/bio&amp;quot;;&lt;br /&gt;
	my $path1       = &amp;quot;$path/user/raja&amp;quot;;&lt;br /&gt;
	my $path2       = &amp;quot;$path1/blast/BES-NR&amp;quot;;&lt;br /&gt;
	my $multifasta  = &amp;quot;$path2/BES.fa&amp;quot;;&lt;br /&gt;
	my $resdir      = &amp;quot;$path2/multifasta&amp;quot;;&lt;br /&gt;
	&lt;br /&gt;
# Getting the Grip of folders&lt;br /&gt;
	if (-e $resdir)   {`rm -fr $resdir`;}&lt;br /&gt;
	if (! -e $resdir) {`mkdir $resdir`;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# making several Fasta files of GDNA&lt;br /&gt;
	my $in  = Bio::SeqIO-&amp;gt;new(-file =&amp;gt; &amp;quot;$multifasta&amp;quot;, -format =&amp;gt; &amp;#039;Fasta&amp;#039;);&lt;br /&gt;
	my $identifier;&lt;br /&gt;
	my $sequence;&lt;br /&gt;
	&lt;br /&gt;
	while ( my $seq = $in-&amp;gt;next_seq() ) {&lt;br /&gt;
		$identifier = $seq-&amp;gt;id;&lt;br /&gt;
  		$sequence = $seq-&amp;gt;seq;&lt;br /&gt;
  		&lt;br /&gt;
  		#Trim the identifier&lt;br /&gt;
  		$identifier =~ s/_Size:[0-9]+bp//g; &lt;br /&gt;
		&lt;br /&gt;
		my ($fasta) = $_;&lt;br /&gt;
		$fasta = &amp;quot;&amp;gt;$identifier\n$sequence\n&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
		my $count_seq = length($sequence);&lt;br /&gt;
		my $count_N = ($sequence =~ tr/N//);&lt;br /&gt;
  		my $math = $count_seq * 0.2;&lt;br /&gt;
  		&lt;br /&gt;
		$sequence =~ s/-/N/;&lt;br /&gt;
		if ($count_seq &amp;lt; 50){ next; }&lt;br /&gt;
		if ($count_N &amp;gt; $math){ next; }&lt;br /&gt;
				 &lt;br /&gt;
		open (FASTA, &amp;quot;&amp;gt;&amp;quot;.$resdir.&amp;quot;/&amp;quot;.$identifier.&amp;quot;.fa&amp;quot;);&lt;br /&gt;
		print FASTA $fasta;&lt;br /&gt;
		close FASTA;		&lt;br /&gt;
	&lt;br /&gt;
		# print &amp;quot;$identifier\t$count_seq\n&amp;quot;;&lt;br /&gt;
	&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>