09-07-2014
Thanks for the quick reply Sir . will post the script shortly .
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have large .csv files that I need to get page breaks into. I am taking comma delimited files of over a million records and putting them into a pdf file. Is there a way, using sed or otherwise, to insert some type of page break character into my file? (2 Replies)
Discussion started by: welsht
2 Replies
2. Programming
Hi,
I have a program in Pro*c when I run it I have no problem with the output but when it runs via the at command and except the output has page breaks every 66 lines. I don't want those page breaks to be in the output.
any idea? (9 Replies)
Discussion started by: rama71
9 Replies
3. Shell Programming and Scripting
Hi All,
I get a flat file with its last field data splitting onto a new line.I got this program from Vgersh which when run would cancatenate the split data back to the end of the previous records.But this program fails when it encounters a page break between the split data and the previous... (5 Replies)
Discussion started by: kumarsaravana_s
5 Replies
4. UNIX for Dummies Questions & Answers
I hope this makes sense, but I need help with what is indicated with %%, below :
A.) ####List active servers and send to file####
# ps -ef | grep jboss | grep sh | awk '{if ($14) {print $12;}else {print $11}}' | sort > /export/home/kthatch/script_results
client302
client306
client309... (1 Reply)
Discussion started by: kthatch
1 Replies
5. Shell Programming and Scripting
Hi,
I am new to Unix (AIX).
I have a header (in a text file) that needs to be wrtitten on all the pages of a result file (text file). After the header is written, data needs to be read from a file A(text file) and inserted to the result file. If the number of lines reaches 80 in a page, page... (1 Reply)
Discussion started by: simhasuri
1 Replies
6. Shell Programming and Scripting
Hi,
I got some log files which print the whole xml message in separate lines:
e.g.
2008-10-01 14:21:44,561 INFO do something
2008-10-01 14:21:44,561 INFO print xml : <?xml version="1.0" encoding="UTF-8"?>
<a>
<b>my data</b>
</a>
2008-10-01 14:21:44,563 INFO do something again
I want... (3 Replies)
Discussion started by: csmklee
3 Replies
7. Shell Programming and Scripting
Hi everyone,
I have gone through the forum trying to find an answer to this question but was unsuccessful. I am hoping that someone can help me with this please.
I am trying to get my script to recognise line breaks from a file and to give me a result for wc of each line. So basically, if you... (7 Replies)
Discussion started by: stargazerr
7 Replies
8. Shell Programming and Scripting
Hi,
If there is an expert that can help:
I have many txt files that are produced from pdftotext that include page breaks the page breaks seem to be unix style hex 0C.
I want to add page numbers before each page break as in : Page XXXX
Regards antman (9 Replies)
Discussion started by: antman
9 Replies
9. Programming
Hello,
I want to keep line spaces in comments but clean more then 2 after each.
Example:
$sentence="This is my first sentence
This will be in a new row
This will be too in a new row but not separated with 3line breaks just with
one
";
And i want to... (1 Reply)
Discussion started by: AimyThomas
1 Replies
10. Linux
Hi,
I have an issue with the line breaks in the mail spool- /var/mail/user1. I have set up a script to go through the mail spool on one of the users and parse some parts of the mail, however there doesn't seem to exist the regular line endings CR, LF or both in the lines and this is breaking my... (4 Replies)
Discussion started by: night_watcher
4 Replies
LEARN ABOUT DEBIAN
theseus_align
THESEUS_ALIGN(1) General Commands Manual THESEUS_ALIGN(1)
NAME
theseus_align - quick-and-dirty way to superimpose proteins
SYNOPSIS
theseus_align [theseus options] -f pdbfile1.pdb pdbfile2.pdb ...
OPTIONS
The options given to the script will be passed on to theseus. For a complete description, see the man page for theseus (1).
DESCRIPTION
This manual page briefly documents briefly the script theseus_align, designed for a quick-and-dirty way to ML superposition proteins with
different sequences. It should work very well when the protein sequences are relatively similar, although the ML method will still give
much better results than least-squares when the sequences are moderately divergent. Technically, this procedure gives a structure-based
superposition of a sequence-based alignment. It does not perform a structure-based alignment.
First, the script uses theseus to create FASTA formatted sequence files corresponding to the exact protein sequences found in the pdb files
that you supply.
Second, these sequences are aligned using the multiple sequence alignment program of your choice. The script can easily be modified for
CLUSTALW, T_COFFEE, KALIGN, DIALIGN2, or MAFFT. Any multiple sequence alignment program can be used, as long as it can generate clustal-
formatted files. However, I highly recommend Bob Edgar's MUSCLE program for both its speed and accuracy. (For more info see
http://www.drive5.com/muscle/ .)
Third, theseus performs a superposition of the structures using the sequence alignment as a guide.
The installed version of theseus_align uses muscle (1) for doing the multiple sequence alignment. If you wish to use one of the other pro-
grams mentioned above, you'll have to copy the script to your own directory and edit it.
SEE ALSO
theseus (1), muscle (1), clustalw (1), t_coffee (1), kalign (1), dialign2 (1), mafft (1). All of these programs can be installed on Debian
or Ubuntu systems using apt-get (8).
AUTHOR
theseus_align was written by Douglas L. Theobald, Department of Biochemistry, Brandeis University.
November, 2008 THESEUS_ALIGN(1)