10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I saved to disk using lynx, under ls it shows up but no matter what I have done back comes the statment no such file.
How do you erase these ls false readings or open what ls shows? (9 Replies)
Discussion started by: Jackbird
9 Replies
2. Shell Programming and Scripting
Hi All ,
I am very new to unix script.I am aware of unix commands but never put together in unix script level.If any one can suggest me technical guidance in the below scenario that will highly beneficial.
Data have been already migrated from mainframe to Hadoop file system(HDFS).HDFS server... (15 Replies)
Discussion started by: STCET22
15 Replies
3. Shell Programming and Scripting
Im trying to write a perl code to do the following task.
I have a website which is located in a diffirent country.
I want to download a file from that site everyday.
The file name keeps on changing everyday.
say the file name is CTP-latest-5.3.0.37.iso
next day it may change to... (0 Replies)
Discussion started by: srijith
0 Replies
4. Shell Programming and Scripting
How can i print the output of a perl script on a unix console and redirect the same in a log file under same directory simultaneously ?
Like in Shell script, we use tee, is there anything in Perl or any other option ? (2 Replies)
Discussion started by: butterfly20
2 Replies
5. Shell Programming and Scripting
I need to write a perl script to search for a specific set of numbers that occur after a series of words but before another. Specifically, I need to locate the phrase today at the summit, then immediately prior to the words tonnes/day copy the number that will be between 100 and 9,999, for example,... (1 Reply)
Discussion started by: libertyforall
1 Replies
6. Shell Programming and Scripting
Hi All,
Sorry to ask this question and i am not sure whether it is possible. please reply to my question. Thanks in advance.
I need a perl script ( or any linux compatible scripts ) to copy the graphical contents of the webpage to a word pad.
Say for example, i have a documentation site... (10 Replies)
Discussion started by: anand.linux1984
10 Replies
7. Shell Programming and Scripting
Attached is my meager attempt to create a Kommander GUI for the youtube-dl command line utility. Change the extension from TXT to KMDR. You'll need Kommander and youtube-dl installed, of course. Comments, suggestions, revisions welcome. I'm a total novice at this stuff, so please go easy. I'm... (0 Replies)
Discussion started by: godzillarama
0 Replies
8. Shell Programming and Scripting
Hi,
I am newbie in Perl/CGI and I need your help to develop a little script to help me to download some files located in a FTP server via HTTP to a disk.
I need to authenticate with username/password via a HTTP page and I can choose the files to download from the web page to my disk.
Can... (2 Replies)
Discussion started by: imad77
2 Replies
9. UNIX and Linux Applications
The rise of Video web stimulates more intuitive video feeling of large people, and makes video downloading becomes a popular trend in web times, meanwhile, more and more downloading problems arises correspondingly, in which the first trouble is slow downloading speed and incomplete downloading. It... (0 Replies)
Discussion started by: angelstar
0 Replies
10. Shell Programming and Scripting
Hi,
I am writing a series of scripts for work to analyse intranet access logs. All of the scripts do as they should when run individually from the shell, but only when run from certain directories. This sounds like it may be a PATH issue but I am not sure. When I run a certain script, say... (3 Replies)
Discussion started by: mmanders
3 Replies
BP_BIOFETCH_GENBANK_PROXY(1p) User Contributed Perl Documentation BP_BIOFETCH_GENBANK_PROXY(1p)
NAME
biofetch_genbank_proxy.pl - Caching BioFetch-compatible web proxy for GenBank
SYNOPSIS
Install in cgi-bin directory of a Web server. Stand back.
DESCRIPTION
This CGI script acts as the server side of the BioFetch protocol as described in http://obda.open-bio.org/Specs/. It provides two database
access services, one for data source "genbank" (nucleotide entries) and the other for data source "genpep" (protein entries).
This script works by forwarding its requests to NCBI's eutils script, which lives at http://www.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi.
It then reformats the output according to the BioFetch format so the sequences can be processed and returned by the Bio::DB::BioFetch
module. Returned entries are temporarily cached on the Web server's file system, allowing frequently-accessed entries to be retrieved
without another round trip to NCBI.
INSTALLATION
You must have the following installed in order to run this script:
1) perl
2) the perl modules LWP and Cache::FileCache
3) a web server (Apache recommended)
To install this script, copy it into the web server's cgi-bin directory. You might want to shorten its name; "dbfetch" is recommended.
There are several constants located at the top of the script that you may want to adjust. These are:
CACHE_LOCATION
This is the location on the filesystem where the cached files will be located. The default is /usr/tmp/dbfetch_cache.
MAX_SIZE
This is the maximum size that the cache can grow to. When the cache exceeds this size older entries will be deleted automatically. The
default setting is 100,000,000 bytes (100 MB).
EXPIRATION
Entries that haven't been accessed in this length of time will be removed from the cache. The default is 1 week.
PURGE
This constant specifies how often the cache will be purged for older entries. The default is 1 hour.
TESTING
To see if this script is performing as expected, you may test it with this script:
use Bio::DB::BioFetch;
my $db = Bio::DB::BioFetch->new(-baseaddress=>'http://localhost/cgi-bin/dbfetch',
-format =>'genbank',
-db =>'genbank');
my $seq = $db->get_Seq_by_id('DDU63596');
print $seq->seq,"
";
This should print out a DNA sequence.
SEE ALSO
Bio::DB::BioFetch, Bio::DB::Registry
AUTHOR
Lincoln Stein, <lstein-at-cshl.org>
Copyright (c) 2003 Cold Spring Harbor Laboratory
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for
disclaimers of warranty.
perl v5.14.2 2012-03-02 BP_BIOFETCH_GENBANK_PROXY(1p)