09-15-2015
Thanks Don for the indepth analysis..It really helped.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
I was recently come across some code to hopefully learn a little bit about putting Shell commands into PHP application to run on a Linux server. However, I don't understand the command AT ALL... and was wondering if anyone can interpret it:
cat userIDs.dat | awk '{s=s+1; if... (1 Reply)
Discussion started by: jordRiot
1 Replies
2. Shell Programming and Scripting
hi
i was moving a file from one directory to another with the following cmmand
mv /home/hsghh/dfd/parent/file.txt .
while doing so i i accidently
mv /home/hsghh/dfd/dfd .
although i gave ctrl c and terminate the move command some of the file are missing in the parent directory and... (1 Reply)
Discussion started by: saravanan71184
1 Replies
3. UNIX for Advanced & Expert Users
i am analyzing a query written by another developer ,need to understand part of script
am looking at a code ..and it converts comma files to pipe delimited and also takes away quotes from any columns,
source field format: 2510,"Debbie",NewYork
changes to
target: 2510|Debbie|NewYork
... (1 Reply)
Discussion started by: coolrock
1 Replies
4. Solaris
Hi
I have a questions related 2 commands : 'du' and 'ls'.
Why is the difference between output of 'du' and 'ls' cmd's ?
Command 'du' :
------------------
jakubn@server1 /home/jakubn $ du -s *
4 engine.ksh
1331 scripts
'du -s *' ---> shows block count size on disk (512 Bytes... (5 Replies)
Discussion started by: presul
5 Replies
5. UNIX for Dummies Questions & Answers
Hey all,
So I have an AWK command here
awk '{if(FNR==NR) {arr++;next} if($0 in arr) { arr--; if (arr == 0) delete arr;next}{print $0 >"list2output.csv"}} END {for(i in arr){print i >"list1output.csv"}}' list1 list2
(refer to image for a more readable format)
This code was submitted... (1 Reply)
Discussion started by: Aussiemick
1 Replies
6. UNIX for Dummies Questions & Answers
Hi Friends,
I need a small help in understanding the below sed command.
$ cat t4.txt
1 root 1 58 0 888K 368K sleep 4:06 0.00% init
1 root 1 58 0 888K 368K sleep 4:06 0.00% init last
$ sed 's/*$//' t4.txt
1 root 1 58 0 888K ... (3 Replies)
Discussion started by: forroughuse
3 Replies
7. Shell Programming and Scripting
Hi,
Could somebody help me in understanding the following awk expression:
awk -v n="POINT" '/%/{print $0 "\n" n ;next}1' < file name
Thanks,
Arun (6 Replies)
Discussion started by: arun_maffy
6 Replies
8. Shell Programming and Scripting
Hi Experts,
I was looking at the below link, for finding words next to it, And unable to understand this syntax:
Can any one please explain , what is meaning of this code:
if ( F )
s = s ? s OFS $i : $i
from:... (4 Replies)
Discussion started by: rveri
4 Replies
9. UNIX for Dummies Questions & Answers
I found this on an awk site and would like to know what it does:
/CARS/{x="";next} {if(x)print x;x=$0} END{if(x)print x}'
Does it mean if it finds the word cars it skips that line and then prints the next one? (4 Replies)
Discussion started by: newbie2010
4 Replies
10. Shell Programming and Scripting
Heyas
Recently i wanted to help someone with an awk script, but the end-script didnt work as expected.
He wanted, if HOME was empty, to get the HOME of the current USER from /etc/passwd.
At first i tried hardcoded with root:
awk -F: '/^root/ {print $6}' /etc/passwd
As that worked, i've... (4 Replies)
Discussion started by: sea
4 Replies
LEARN ABOUT DEBIAN
bio::tools::analysis::simpleanalysisbase
Bio::Tools::Analysis::SimpleAnalysisBase(3pm) User Contributed Perl Documentation Bio::Tools::Analysis::SimpleAnalysisBase(3pm)
NAME
Bio::Tools::Analysis::SimpleAnalysisBase - abstract superclass for SimpleAnalysis implementations
SYNOPSIS
# not to be run directly
DESCRIPTION
This class is a generic implementation of SimpleAnalysisI and should be used as a base class for specific implementations.
Modules implementing SimpleAnalysisBase only need to provide specific _init(), _run() and result() methods, plus any get/set methods for
parameters to the analysis program.
SEE ALSO
Bio::SimpleAnalysisI, Bio::WebAgent
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one
of the Bioperl mailing lists. Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address
it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the
web:
https://redmine.open-bio.org/projects/bioperl/
AUTHORS
Richard Adams, Richard.Adams@ed.ac.uk, Heikki Lehvaslaiho, heikki-at-bioperl-dot-org
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
new
Usage : $job->new(...)
Returns : a new analysis object,
Args : none (but an implementation may choose
to add arguments representing parameters for the analysis
program. Each key value of must have a method implemented
for it in a subclass. A seq () method is provided here as
this will probably be needed by all sequence analysis programs
seq
Usage : $job->seq()
Returns : a Bio::PrimarySeqI implementing sequence object, or void
Args : None, or a Bio::PrimarySeqI implementing object
analysis_name
Usage : $analysis->analysis_name();
Returns : The analysis name
Arguments : none
analysis_spec
Usage : $analysis->analysis_spec();
Returns : a hash reference to a hash of analysis parameters. See
Bio::SimpleAnalysisI for a list of recommended key values.
Arguments: none
clear
Usage : $analysis->clear();
Returns : true value on success
Arguments : none
Purpose : to remove raw results from a previous analysis so that
an analysis can be repeated with different parameters.
input_spec
Usage : $analysis->input_spec();
Returns : a reference to an array of hashes of analysis parameters. See
Bio::SimpleAnalysisI for a list of recommended key values.
Arguments : none
result_spec
Usage : $analysis->result_spec();
Returns : a reference to a hashes of resultformats. See
Bio::SimpleAnalysisI for a list of recommended key values.
The key values can be used as parameters to the result()
method, the values provide descriptions.
Arguments : none
perl v5.14.2 2012-03-02 Bio::Tools::Analysis::SimpleAnalysisBase(3pm)