Hi Gurus,
There is a ASCII file in which a comma is used as a seperator for the amount field when the amount exceed seven digits: e.g. 0001300,000. Now, this comma needs to be removed from this field, after padding leading zeros (to maintain the ASCII positions) e.g. 00001300000.... (1 Reply)
Hello!
I have 32000 files in a directory and want to remove those with first row beging with 0.00; file names are in numbers from 1 through 32000; I have coded the following but it gives me error:
while ( i <= 32000 )
if (head -1 $i ==0.00) rm $i
end
Well, i am sure even if this... (14 Replies)
Hi,
I need help in printing out the dates with the largest value in front of it using awk.
436 28/Feb/2008
436 27/Feb/2008
436 20/Feb/2008
422 13/Feb/2008
420 23/Feb/2008
409 21/Feb/2008
402 26/Feb/2008
381 22/Feb/2008
374 24/Feb/2008
360... (7 Replies)
Hello All,
I have a csv file with 3 columns. The file which looks like this
47850000,100,233
23560000,10000,456
78650000,560000,54
34000000,3456,3
The first column has 4 trailing zeros. I have to remove 4 trailing zeroes from 1st field. The output file should appear as follows.
... (12 Replies)
removing leading zeros for a decimal column in a file which has string & decimal values
,,,,,6630140,XXXXXXXXXXXXXXX, 0020.00,USA
,,,,,6630150,XXXXXXXXXXXXXXXL (xyz, 0010.00,USA
,,,,,6630150,XXXXXXXXXXXXXXX(xyz), 1300.00,USA
My file contains 9 columns. Out 9 columns, 8th column contains the... (9 Replies)
Hi All,
I am having a situation now to delete a huge number of temp files created during run times approx. 16700+ files. We have never imagined that we will get this this much big list of files during run time. It worked fine for lesser no of files in the list. But when list is huge we are... (7 Replies)
Discussion started by: mad man
7 Replies
LEARN ABOUT DEBIAN
afetch
afetch(1) Biosquid Manual afetch(1)NAME
afetch - retrieve an alignment from an alignment database
SYNOPSIS
afetch [options] alignmentdb key
afetch --index alignmentdb
DESCRIPTION
afetch retrieves the alignment named key from an alignment database in file alignmentdb.
alignmentdb is a "multiple multiple alignment" file in Stockholm (e.g. native Pfam) format.
key is either the name (ID) of the alignment, or its accession number (AC).
The alignmentdb file should first be SSI indexed with afetch --index for efficient retrieval. An SSI index is not required, but alignment
retrieval without one may be painfully slow.
OPTIONS -h Print brief help; includes version number and summary of all options, including expert options.
EXPERT OPTIONS --index
Instead of retrieving a key, the special command afetch --index alignmentdb produces an SSI index of the names and accessions of the
alignments in the file alignmentdb. This should be run once on the alignmentdb file to prepare it for all future afetch's.
SEE ALSO alistat(1), compalign(1), compstruct(1), revcomp(1), seqsplit(1), seqstat(1), sfetch(1), shuffle(1), sindex(1), sreformat(1), strans-
late(1), weight(1).
AUTHOR
Biosquid and its documentation are Copyright (C) 1992-2003 HHMI/Washington University School of Medicine Freely distributed under the GNU
General Public License (GPL) See COPYING in the source code distribution for more details, or contact me.
Sean Eddy
HHMI/Department of Genetics
Washington University School of Medicine
4444 Forest Park Blvd., Box 8510
St Louis, MO 63108 USA
Phone: 1-314-362-7666
FAX : 1-314-362-2157
Email: eddy@genetics.wustl.edu
Biosquid 1.9g January 2003 afetch(1)