Hi friends
I have 100 files in my directory. Each file look like this..
Temp1 Temp2 Temp3
MAS 1 2 3
MAS 4 5 6
MAS 7 8 9
Delhi 10 11 12
Delhi 13 14 15
Delhi 16 17 ... (4 Replies)
Hi Friends,
In continuation to my earlier post
https://www.unix.com/shell-programming-scripting/99166-script-find-average-given-column-also-specified-number-rows.html
I am extending my problem as follows.
Input:
Column1 Column2
MAS 1
MAS 4 ... (2 Replies)
Hi all,
I am trying to extract the values ( text between the xml tags) based on the Order Number.
here is the sample input
<?xml version="1.0" encoding="UTF-8"?>
<NJCustomer>
<Header>
<MessageIdentifier>Y504173382</MessageIdentifier>
... (13 Replies)
Given a file such as this I need to remove the duplicates.
00060011 PAUL BOWSTEIN ad_waq3_921_20100826_010517.txt
00060011 PAUL BOWSTEIN ad_waq3_921_20100827_010528.txt
0624-01 RUT CORPORATION ad_sade3_10_20100827_010528.txt
0624-01 RUT CORPORATION ... (13 Replies)
Hi All,
I am very new to UNIX and I have tried this for a longtime now and unable to crack it....
There is a file that is continuously updating. I need to search for the string and find the date @ which it updated every day.....
eg:
String is "work started"
The log entry is as below:
... (1 Reply)
here is what i want to achieve... consider a file contains below contents. the file size is large about 60mb
cat dump.sql
INSERT INTO `table1` (`id`, `action`, `date`, `descrip`, `lastModified`) VALUES (1,'Change','2011-05-05 00:00:00','Account Updated','2012-02-10... (10 Replies)
Hi All,
I am new to shell srcipting.
Problem :
I need to write a script which copy the log files from /prod/logs directory based on todays date like (Jul 17) and place it to /home/hzjnr0 directory and then search the copied logfiles for the string "@ending successfully on Thu Jul 17". If... (2 Replies)
I have 2 files,
file01= 7 columns, row unknown (but few)
file02= 7 columns, row unknown (but many)
now I want to create an output with the first field that is shared in both of them and then subtract the results from the rest of the fields and print there
e.g.
file 01
James|0|50|25|10|50|30... (1 Reply)
Hi,
How can I use find command to search string/pattern in a file recursively?
What I tried:
find . -type f -exec cat {} | grep "make" \;
Output:
grep: find: ;: No such file or directory
missing argument to `-exec'
And this:
find . -type f -exec cat {} \; -exec grep "make" {} \;... (12 Replies)
Hellow,
I have a tab-delimited file with 3 columns :
BINPACKER.13259.1.p2 SSF48239
BINPACKER.13259.1.p2 PF13243
BINPACKER.13259.1.p2 G3DSA:1.50.10.20
BINPACKER.13259.2.p2 SSF48239
BINPACKER.13259.2.p2 PF13243
BINPACKER.13259.2.p2 G3DSA:1.50.10.20... (7 Replies)
Discussion started by: anjaliANJALI
7 Replies
LEARN ABOUT DEBIAN
go::model::association
GO::Model::Association(3pm) User Contributed Perl Documentation GO::Model::Association(3pm)NAME
GO::Model::Association - association between a GO term and a gene product
SYNOPSIS
# print all gene products associated with a GO::Model::Term
my $assoc_l = $term->association_list;
foreach my $assoc (@$assoc_l) {
printf "gene product:%s %s %s (evidence: %s)
",
$assoc->gene_product->symbol,
$assoc->is_not ? "IS NOT" : "IS",
$term->name,
map {$_->code} @{$assoc->evidence_list};
}
DESCRIPTION
Represents an association between a GO term (GO::Model::Term) and a gene product (GO::Model::GeneProduct)
go_public_acc
Usage -
Returns -
Args -
add_evidence
Usage - $assoc->add_evidence($my_evid);
Returns -
Args - GO::Model::Evidence
evidence_list
Usage - my $ev_l = $assoc->evidence_list;
Returns -
Args -
gets/sets arrayref of GO::Model::Evidence
evidence_as_str
Usage - print $assoc->evidence_as_str
Usage - print $assoc->evidence_as_str(1); #verbose
Returns -
Args - verbose
concatenates evcodes together, for display
has_evcode
Usage - if $assoc->has_evcode("IEA");
Returns - boolean
Args - evcode [string]
remove_evcode
Usage - $assoc->remove_evcode("IEA");
Returns -
Args - evcode [string]
removes all evidence of the specified type from the association; useful for filtering
evidence_score
Usage - my $score = $assoc->evidence_score
Returns - 0 <= float <= 1
Args -
returns a score for the association based on the evidence;
This is an EXPERIMENTAL method; it may be removed in future versions.
The evidence fields can be thought of in a loose hierachy:
TAS
IDA
IMP/IGI/IPI
ISS
NAS
see http://www.geneontology.org/GO.evidence.html
gene_product
Usage - my $gp = $assoc->gene_product
Returns -
Args -
gets sets GO::Model::GeneProduct
assigned_by
Usage -
Returns -
Args -
is_not
Usage -
Returns -
Args -
gets/sets boolean representing whether this relationship is negated
assocdate
Usage -
Returns -
Args -
assocdate
Usage -
Returns -
Args -
gets/sets integer representing the date of the association (YYYYMMDD format)
role_group
Usage -
Returns -
Args -
gets/sets integer to indicate which associations go together
perl v5.14.2 2013-02-07 GO::Model::Association(3pm)