09-01-2011
Radulov
That's great! The only part that is missing is the headers (>Sequence ID) for each sequence. How can I modify your perl script so it can include the headers for each and every sequence?
Thanks!
9 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Here's my problem:
I have a laptop running Windows XP Pro with no internal CD or Floppy drives. I want to install Linux on it. I don't care about the Windows XP Pro installation, in fact I would like to install Linux over the entirety of the HD. However I cannot boot from any external CD drive... (1 Reply)
Discussion started by: saabir
1 Replies
2. Shell Programming and Scripting
Hello. I am trying to convert occurrences of 'NULL' from a datafile. The 'NULL' occurences appears at this:
|NULL| NULL|NULL| NULL|NULL| NULL|NULL| NULL|
There should be 52 fields per line.
I would like any occurrence of | NULL| or |NULL| to appear as '||'
Currently I am using this sed... (2 Replies)
Discussion started by: bestbuyernc
2 Replies
3. Shell Programming and Scripting
I have a file contains
TASK gsnmpproxy {
CommandLine = $SMCHOME/bin/gsnmpProxy.exe
}
TASK gsnmpdbgui {
CommandLine = $SMCHOME/bin/gsnmpdbgui.exe
I would like to comment and than uncomment specific task eg TASK gsnmpproxy
Pls suggest how to do in shell script (9 Replies)
Discussion started by: madhusmita
9 Replies
4. Shell Programming and Scripting
I have an task definition listing xml file that contains a list of tasks such as
<TASKLIST
<TASK definition="Completion date" id="Taskname1" Some other
<CODE name="Code12"
<Parameter pname="Dog" input="5.6" units="feet" etc /Parameter>
<Parameter... (3 Replies)
Discussion started by: MissI
3 Replies
5. Shell Programming and Scripting
Hi all,
Using Perl, I need to extract DNA bases from a GenBank file for a given plant species. A sample GenBank file is here...
Nucleotide
This is saved on my computer as NC_001666.gb. I also have a file that is saved on my computer as NC_001666.txt. This text file has a list of all... (5 Replies)
Discussion started by: akreibich07
5 Replies
6. Solaris
Hi folks!
My first post here.
I'm working on a script that retrieves a range of files from a list depending on a range of time.
UPDATE:
I've seen it could be difficult to read all this thing, so I'll make a summarize it..
How come I do this and take a result..
grep "..\:.." lista.new |... (4 Replies)
Discussion started by: kl0x
4 Replies
7. HP-UX
Hi,
I have a multihomed system HP-UX with two NIC cards having IP address 10.9.0.13 & 10.9.0.45
I have two weblogic servers running one listening on "10.9.0.13" and the other on "10.9.0.45"
Given a PID how is it possible to extract the IP Address that the weblogic server is using and... (1 Reply)
Discussion started by: mohtashims
1 Replies
8. Shell Programming and Scripting
Hi,
I am having a file of dna sequences in fasta format which look like this:
>admin_1_45
atatagcaga
>admin_1_46
atatagcagaatatatat
with many such thousands of sequences in a single file. I want to the replace the accession Id "admin_1_45" similarly in following sequences to... (5 Replies)
Discussion started by: margarita
5 Replies
9. Shell Programming and Scripting
I am trying to write a bash script that would be able to read DNA sequences (each line in the file is a sequence) from a file, where sequences are separated by an empty line. I am then to find the amino acid that these DNA sequences encode per codon (each group of three literals.) For example, if I... (3 Replies)
Discussion started by: faizlo
3 Replies
LEARN ABOUT PHP
imap_fetch_overview
IMAP_FETCH_OVERVIEW(3) 1 IMAP_FETCH_OVERVIEW(3)
imap_fetch_overview - Read an overview of the information in the headers of the given message
SYNOPSIS
array imap_fetch_overview (resource $imap_stream, string $sequence, [int $options])
DESCRIPTION
This function fetches mail headers for the given $sequence and returns an overview of their contents.
PARAMETERS
o $
imap_stream -An IMAP stream returned by imap_open(3).
o $sequence
- A message sequence description. You can enumerate desired messages with the X,Y syntax, or retrieve all messages within an
interval with the X:Y syntax
o $options
-$sequence will contain a sequence of message indices or UIDs, if this parameter is set to FT_UID.
RETURN VALUES
Returns an array of objects describing one message header each. The object will only define a property if it exists. The possible proper-
ties are:
o subject - the messages subject
o from - who sent it
o to - recipient
o date - when was it sent
o message_id - Message-ID
o references - is a reference to this message id
o in_reply_to - is a reply to this message id
o size - size in bytes
o uid - UID the message has in the mailbox
o msgno - message sequence number in the mailbox
o recent - this message is flagged as recent
o flagged - this message is flagged
o answered - this message is flagged as answered
o deleted - this message is flagged for deletion
o seen - this message is flagged as already read
o draft - this message is flagged as being a draft
EXAMPLES
Example #1
imap_fetch_overview(3) example
<?php
$mbox = imap_open("{imap.example.org:143}INBOX", "username", "password")
or die("can't connect: " . imap_last_error());
$MC = imap_check($mbox);
// Fetch an overview for all messages in INBOX
$result = imap_fetch_overview($mbox,"1:{$MC->Nmsgs}",0);
foreach ($result as $overview) {
echo "#{$overview->msgno} ({$overview->date}) - From: {$overview->from}
{$overview->subject}
";
}
imap_close($mbox);
?>
SEE ALSO
imap_fetchheader(3).
PHP Documentation Group IMAP_FETCH_OVERVIEW(3)