.
.
.
The same statements work for other start and end values, but not for 0 and 1056.
. . .
That's because there's many "0"s in them there numbers, so the range immediately starts again (and doesn't get stopped any more). Try to anchor the "0":
---------- Post updated at 11:22 ---------- Previous update was at 11:19 ----------
Your file doesn't have 1056 lines. RavinderSingh13's proposal lists until EOF or line 1056, whatever it reaches first.
Not sure if the title of this thread makes sense, but hopefully my explanation will.
I'm using awk to print some stats from an apache accesslog. I would like to specify the regexp condition where only the two root pages of "index.html" and "/" are counted in my results. What I can't figure out... (3 Replies)
How can I do this? Actually I have a file which contains a path
e.g.
/home/john/Music/hello.mp3
and I want to take only the filename (hello.mp3) So, I need to read the file from its end to its start till the character "/"
Is this possible?
Thanks, I am sure you'll not disappoint me here!
Oh,... (9 Replies)
Dear Members,
Depending on the current date i should find out the start and end dates of the quarter.
ex: Today date is 14-Nov-2011 then Quarter start date should be Oct 1 2011 and Quarter End date should be Dec 31 2011.
How can i do this?
Thanks
Sandeep (1 Reply)
Hi Folks,
Need help in fetching a group of lines with a start and end strings. Example is shown below.
start#morning
tea
jog
breakfast
end
start#afternoon
lunch
work
chat
end
start#evening
snacks
tea
chat (6 Replies)
Hi,
I am trying to remove lines once a string is found till another string is found including the start string and end string. I want to basically grab all the lines starting with color (closing bracket). PS: The line after the closing bracket for color could be anything (currently 'more').... (1 Reply)
Hello fellow awkers and seders:
need to figure out a way to ensure a software deployment has completed by checking its trace file in which I can store the deployment results as follows:
echo $testvar
===== Summary - Deploy Result - Start ===== ===== Summary - Deploy Result - End =====... (1 Reply)
Hi guys,
I am having the below logfile,date in yyyy-mm-dd
2013-08-02 *some content*
2013-08-02 *some content*
2013-08-02 *some content*
2013-08-03 *some content*
2013-08-05 *some content*
from the above logfile i need to get the lines between the two timestamps,if i give... (5 Replies)
I have been searching and trying to come up with an awk that will perform the following on a
converted text file (original is a pdf).
1. Since the first two lines are (begin with) text they are removed
2. if $1 is a number then all text is merged (combined) into one line until the next... (3 Replies)
Hi, In my previous post ( How to print lines from a files with specific start and end patterns and pick only the last lines? ), i have got a help to get the last select statement from a file, now i need to remove/exclude the output from main file:
Input File format:
SELECT
ABCD,
DEFGH,... (2 Replies)
Hi, I need to print lines which are matching with start pattern "SELECT" and END PATTERN ";" and only select the last "select" statement including the ";" .
I have attached sample input file and the desired input should be as:
INPUT FORMAT:
SELECT
ABCD,
DEFGH,
DFGHJ,
JKLMN,
AXCVB,... (5 Replies)
Discussion started by: nani2019
5 Replies
LEARN ABOUT DEBIAN
glam2format
GLAM2FORMAT(1) glam2 Manual GLAM2FORMAT(1)NAME
glam2format - converts GLAM2 motifs to FASTA or MSF format
SYNOPSIS
glam2format [options] my_format my_motif.glam2
Formats: fasta, msf.
DESCRIPTION
glam2format reads in a motif found by glam2, and writes it in a standard alignment format (FASTA-with-gaps or MSF). This enables the
alignment to be passed to third-party software, including graphical visualization tools such as Kalignvu, Boxshade, and WebLogo. On the
other hand, not all the motif information is preserved: in particular, the key positions are lost. Only the top motif in glam2 output is
converted.
OPTIONS (DEFAULT SETTINGS)-o
Output file (stdout).
-c
Make a compact alignment. By default, residues that are inserted between key positions are written as unaligned with each other. This
best reflects glam2's intention, but it can make the alignment large and full of gaps. With -c, inserted residues are written as
arbitrarily aligned with each other, just as they appear in the glam2 output.
-f
Sequence file to make a "global" alignment by adding flanking sequences from the original FASTA-format sequence file. The flanking
sequences will be written as either unaligned with each other or arbitrarily aligned, depending on the -c option. The sequences should
have unique names and their order should be unchanged.
SEE ALSO boxshade(1), glam2(1), glam2mask(1), glam2-purge(1), glam2scan(1)
The full Hypertext documentation of GLAM2 is available online at http://bioinformatics.org.au/glam2/ or on this computer in
/usr/share/doc/glam2/.
REFERENCE
If you use GLAM2, please cite: MC Frith, NFW Saunders, B Kobe, TL Bailey (2008) Discovering sequence motifs with arbitrary insertions and
deletions, PLoS Computational Biology (in press).
AUTHORS
Martin Frith
Author of GLAM2.
Timothy Bailey
Author of GLAM2.
Charles Plessy <plessy@debian.org>
Formatted this manpage in DocBook XML for the Debian distribution.
COPYRIGHT
The source code and the documentation of GLAM2 are released in the public domain.
GLAM2 1056 05/19/2008 GLAM2FORMAT(1)