Sponsored Content
Top Forums UNIX for Advanced & Expert Users script to open the specified url in a browser from a text file Post 302133122 by gsp on Wednesday 22nd of August 2007 05:13:29 AM
Old 08-22-2007
script to open the specified url in a browser from a text file

Hi All,

here i am struc
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Displaying text file in browser - perl

I am having issue dispalying text file in browser using perl. Here is my code: #!/usr/bin/perl print "content-type: text/html \n\n"; open (FH , "access.log") || die "Blah $!"; while (<FH>) { print $_ ; } I have correct permissions and everything. The weired thing is when I... (1 Reply)
Discussion started by: Dabheeruz
1 Replies

2. Shell Programming and Scripting

Displaying text file in browser - perl

Don't know why this didn't get posted before but... I am having issues displaying a log file in the browser using perl and I can't get it to display at all, All i get is WHITE (blank page). I have proper permissions in my cgi-bin directory and everywhere else. So I know that's NOT the issue. ... (3 Replies)
Discussion started by: Dabheeruz
3 Replies

3. UNIX for Dummies Questions & Answers

open windows's .url file in unix

In windows, I can create a shortcut for websites. It's a .url file. the content of the file is like: How can I open it, the .url file, in firefox or google chrome in Unix(or just ubuntu)? (2 Replies)
Discussion started by: hz_i3
2 Replies

4. Shell Programming and Scripting

Text substitution & getting file name from url

hi, sorry if this seems trivial. i have a file url.txt which consists of a list of urls (it was supposed to be my wget -i file). however, since the server from which i am trying to download uses redirect, wget dows not remeber the filename of ther original url will save to a file name which is... (3 Replies)
Discussion started by: texttoolong
3 Replies

5. Shell Programming and Scripting

How to find invalid URL in a text file using shell script?

How to find and remove invalid URLs in a text file using shell script? (1 Reply)
Discussion started by: vel4ever
1 Replies

6. Shell Programming and Scripting

Hit multiple URL from a text file and store result in other test file

Hi, I have a problem where i have to hit multiple URL that are stored in a text file (input.txt) and save their output in different text file (output.txt) somewhat like : cat input.txt http://192.168.21.20:8080/PPUPS/international?NUmber=917875446856... (3 Replies)
Discussion started by: mukulverma2408
3 Replies

7. HP-UX

Browser to check URL in hpux.

Hello Expert, I want to test the url in hp-ux, so it is possible via putty ?? Also have xmanager on the same system. (5 Replies)
Discussion started by: purushottamaher
5 Replies

8. Shell Programming and Scripting

Extracting the column containing URL from a text file

I have the file like this: Timestamp URL Text 1331635241000 http://example.com Peoples footage at www.test.com,http://example4.com 1331635231000 http://example1.net crack the nuts http://example6.com 1331635280000 http://example2.net ... (0 Replies)
Discussion started by: csim_mohan
0 Replies

9. Shell Programming and Scripting

Extracting the column containing URL from a text file

I have the file like this: Timestamp URL Text 1331635241000 http://example.com Peoples footage at www.test.com,http://example4.com 1331635231000 http://example1.net crack the nuts http://example6.com 1331635280000 http://example2.net ... (0 Replies)
Discussion started by: csim_mohan
0 Replies

10. Shell Programming and Scripting

Extracting the column containing URL from a text file

I have the file like this: Timestamp URL Text 1331635241000 http://example.com Peoples footage at www.test.com,http://example4.com 1331635231000 http://example1.net crack the nuts http://example6.com 1331635280000 http://example2.net ... (3 Replies)
Discussion started by: csim_mohan
3 Replies
Bio::Tools::Analysis::Protein::GOR4(3pm)		User Contributed Perl Documentation		  Bio::Tools::Analysis::Protein::GOR4(3pm)

NAME
Bio::Tools::Analysis::Protein::GOR4 - a wrapper around GOR4 protein secondary structure prediction server SYNOPSIS
use Bio::Tools::Analysis::Protein::GOR4; #get a Bio::Seq or Bio::PrimarySeq use Bio::PrimarySeq; $seq = Bio::PrimarySeq->new (-seq=>'IKLCVHHJHJHJHJHJHJHNLAILAKAHLIELALAL', -primary_id=>'test'); # a Bio::PrimarySeqI object my $gor4 = Bio::Tools::Analysis::Protein::GOR4->new (-seq=>$seq); $gor4->run; print $gor4->result;# #raw text to standard error DESCRIPTION
A module to remotely retrieve predictions of protein secondary structure. Each residue in the protein receives a score representing the likelihood of existing in each of three different states (helix, coil or sheet), e.g., my $analysis_object = Bio::Tools::SimpleAnalysis::Protein::GOR4-> new(-seq => $seq); creates a new object $analysis_object->run; submits the query to the server and obtains raw text output Given an amino acid sequence the results can be obtained in 4 formats, determined by the argument to the result method 1. The raw text of the program output my $rawdata = $analysis_object->result; 2. An reference to an array of hashes of scores for each state and the assigned state. my $data_ref = $analysis_object->result('parsed'); print "score for helix at residue 2 is $data_ref->[1]{'helix'} "; print "predicted struc at residue 2 is $data_ref->[1]{'struc} "; 3. An array of Bio::SeqFeature::Generic objects where each feature is a predicted unit of secondary structure. Only stretches of helix/sheet predictions for longer than 4 residues are defined as helices. See Bio::Tools::Analysis::Domcut.pm for examples of how to add sequence features. my @fts = $analysis_object->result(Bio::SeqFeatureI); for my $ft (@fts) { print " From ", $ft->start, " to ",$ft->end, " struc: " , ($ft->each_tag_value('type'))[0] ," "; } 4. A Bio::Seq::Meta::Array implementing sequence. This is a Bio::Seq object that can also hold data about each residue in the sequence In this case, the sequence can be associated with a single array of GOR4 prediction scores. e.g., my $meta_sequence = $analysis_object->result('all'); print "helix scores from residues 10-20 are ", $meta_sequence->named_submeta_text("GOR4_helix",10,20), " "; Meta sequence names are : GOR4_helix, GOR4_sheet, GOR4_coil, GOR4_struc, representing the scores for each residue. Many methods common to all analyses are inherited from Bio::Tools::Analysis::SimpleAnalysisBase. SEE ALSO
Bio::SimpleAnalysisI, Bio::Tools::Analysis::SimpleAnalysisBase, Bio::Seq::Meta::Array, 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, APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ result Name : result Usage : $job->result (...) Returns : a result created by running an analysis Args : see keys of $RESULT_SPEC The method returns a result of an executed job. If the job was terminated by an error the result may contain an error message instead of the real data. This implementation returns differently processed data depending on argument: undef Returns the raw ASCII data stream but without HTML tags 'Bio::SeqFeatureI' The argument string defines the type of bioperl objects returned in an array. The objects are Bio::SeqFeature::Generic. Feature primary tag is "2ary". Feature tags are "type" (which can be helix, sheet or coil) "method" (GOR4). 'parsed' Array of hash references of { helix =>, sheet => , coil => , struc=>}. 'meta' A Bio::Seq::Meta::Array object. Scores can be accessed using methods from this class. Meta sequence names are GOR4_helix, GOR4_sheet, GOR4_coil, GOR4_struc. perl v5.14.2 2012-03-02 Bio::Tools::Analysis::Protein::GOR4(3pm)
All times are GMT -4. The time now is 03:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy