Hi all,
I am working on a shell script to extract information from a file that has output from Oracle sqlplus. The problem is that the output of a single line is spread across multiple lines and i do not know as how to extract the particular filed at ones,which spans multiple lines.... (2 Replies)
Hi,
Following is sample portion of the file;
<JDBCConnectionPool DriverName="oracle.jdbc.OracleDriver"
MaxCapacity="10" Name="MyApp_DevPool"
PasswordEncrypted="{3DES}7tXFH69Xg1c="
Properties="user=MYAPP_ADMIN" ShrinkingEnabled="false"
... (12 Replies)
Hi
I need to put together a script that will search certain tables in a db and send that data to a csv file.
Basically I am importing data to a db and I want to write a script to check that all information was imported correctly.
Thank you (1 Reply)
Hi to all,
I got this content/pattern from file http.log.20110808.gz
mail1 httpd: Account Notice: close igchung@abc.com 2011/8/7 7:37:36 0:00:03 0 0 1
mail1 httpd: Account Information: login sastria9@abc.com proxy sid=gFp4DLm5HnU
mail1 httpd: Account Notice: close sastria9@abc.com... (16 Replies)
Hi, i have a file like this:
<Iteration>
<Iteration_iter-num>3</Iteration_iter-num>
<Iteration_query-ID>lcl|3_0</Iteration_query-ID>
<Iteration_query-def>G383C4U01EQA0A length=197</Iteration_query-def>
<Iteration_query-len>197</Iteration_query-len>
... (9 Replies)
Hi,
I have a file which I need to programmatically split into two files.
All the information in the file before pattern "STOP HERE" is to be stripped and output into one file while everything after "STOP HERE" is to be output into a separate file.
I would appreciate help on how to do... (8 Replies)
The below awk parser works for most data inputs, but I am having trouble with the last one. The problem is in the below rules steps 1 and 2 come from $2 (NC_000013.10:g.20763686_20763687delinsA) and steps 3 and 4 come from $1 (NM_004004.5:c.34_35delGGinsT).
Parse Rules:
The header is... (0 Replies)
Gents,
If is possible please help.
I have a big file (example attached) which contends exactly same value in column, but from column 2 to 6 these values are diff. I will like to compile for all records all columns like the example attached in .csv format (output.rar ).. The last column in the... (11 Replies)
In a particular directory, there can be 1000 files like below.
filename is job901.ksh
#!/bin/ksh
cront -x << EOJ
submit file=$PRODPATH/scripts/genReport.sh maxdelay=30
&node=xnode01
tname=job901
&pfile1=/prod/mldata/data/test1.dat
... (17 Replies)
Hi all, I have a query that runs that outputs data in the following format -
01/09/12 11:43:40,ADMIN,4,77,Application Group Load: Name(TESTED) LoadId(5137-1-0-1XX-15343-15343) File(/dir/dir/File.T03.CI2.RYR.2012009.11433350806.ARD) InputSize(5344) OutputSize(1359) Rows(2) Time(1.9960)... (8 Replies)
Discussion started by: jeffs42885
8 Replies
LEARN ABOUT DEBIAN
bio::graphics::wiggle::loader
Bio::Graphics::Wiggle::Loader(3pm) User Contributed Perl Documentation Bio::Graphics::Wiggle::Loader(3pm)SYNOPSIS
my $loader = Bio::Graphics::Wiggle::Loader->new('/base/directory/for/wigfiles','wibfilename');
my $fh = IO::File->new('uploaded_file.txt');
$loader->load($fh);
my $gff3_file = $loader->featurefile('gff3',$method,$source);
my $featurefile = $loader->featurefile('featurefile');
USAGE
This module loads Bio::Graphics::Wiggle files from source files that use Jim Kent's "WIG" format:
http://genome.ucsc.edu/google/goldenPath/help/wiggle.html
Several data sets can be grouped together in a single WIG source file. The load() method accepts the path to a WIG source file, and will
create one or more .wib ("wiggle binary") databases of quantitative data in the directory indicated when you created the loader. Call the
featurefile() method to return a text file in either GFF3 or Bio::Graphics::FeatureFile format, suitable for loading into a gbrowse
database.
METHODS
$loader = Bio::Graphics::Wiggle::Loader->new('/base/directory' [,'my_data'])
Create a new loader. The first argument specifies the base directory in which the loaded .wib files will be created. The second
argument specifies the base name for the created .wib files, or "track" if not specified.
$loader->load($fh)
Load the data from a source WIG file opened on a filehandle.
$data = $loader->featurefile($type [,$method,$source])
Return the data corresponding to a GFF3 or Bio::Graphics::FeatureFile. The returned file will have one feature per WIG track, and a
properly formatted "wigfile" attribute that directs Bio::Graphics to the location of the quantitative data.
$type is one of "gff3" or "featurefile". In the case of "gff3", you may specify an optional method and source for use in describing
each feature. In the case of "featurefile", the returned file will contain GBrowse stanzas that describe a reasonable starting format
to display the data.
$loader->allow_sampling(1)
If allow_sampling() is passed a true value, then very large files (more than 5 MB) will undergo a sampling procedure to find their
minimum and maximum values and standard deviation. Otherwise, file will be read in its entirety to generate those statistics.
EXTENSIONS
Several extensions to the WIG format "track" declaration are recognized.
transform=<transform>
Specify a transform to be performed on all numeric data within this track prior to loading into the binary wig file. Currently, the
following three declarations are recognized:
transform=logtransform y' = 0 for y == 0
y' = log(y) for y > 0
y' = -log(-y) for y < 0
transform=logsquared y' = log(y**2) for y != 0
y' = 0 for y == 0
transform=none y' = y (no transform - the default)
trim=<trim>
Specify a trimming function to be performed on the data prior to scaling. Currently, the following trim functions are recognized:
trim=stdev1 trim to plus/minus 1 standard deviation of the mean
trim=stdev2 trim to plus/minus 2 standard deviations of the mean (default)
trim=stdevN trim to plus/minus N standard deviations of the mean
trim=none no trimming
Example entended track declaration:
track type=wiggle_0 name="example" description="20 degrees, 2 hr"
trim=stdev2 transform=logsquared
SEE ALSO
Bio::Graphics::Wiggle, Bio::Graphics::Glyph::wiggle_xyplot, Bio::Graphics::Glyph::wiggle_density, Bio::Graphics::Panel,
Bio::Graphics::Glyph, Bio::Graphics::Feature, Bio::Graphics::FeatureFile
AUTHOR
Lincoln Stein <lstein@cshl.org>.
Copyright (c) 2007 Cold Spring Harbor Laboratory
This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either
version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. In addition,
please see DISCLAIMER.txt for disclaimers of warranty.
perl v5.14.2 2012-02-20 Bio::Graphics::Wiggle::Loader(3pm)