10 More Discussions You Might Find Interesting
1. BSD
Hi Guys,
I'm a FreeBSD newbie with some basic Linux experience. I have installed FreeBSD 9.2 with Squid and IPFW but am struggling to get dansguardian working. I have also installed apache24 which I believe is a pr-requisite dependency and that seems to be running happily enough
I have... (0 Replies)
Discussion started by: andyh2451
0 Replies
2. Red Hat
Hi,
I have three servers,For 3 servers how i can take output,all the local accounts and details of whether the access is Root or User access.
cheers (1 Reply)
Discussion started by: ranjithm
1 Replies
3. Shell Programming and Scripting
Hi,
I would like to retrieve a list of user ids on an AIX server along with the access rights that each id has? Can someone please help me on how this can be achieved?
Gayathri (3 Replies)
Discussion started by: ggayathri
3 Replies
4. UNIX for Dummies Questions & Answers
Hello Guru,
I have very unique requirement , need some help.
I have one folder created in one the server A. In this folder , the file getting uploaded from some java based page.
then i am calling scp through key file, which works fine in another folder of server B.
Currently , what i am... (2 Replies)
Discussion started by: u263066
2 Replies
5. UNIX for Advanced & Expert Users
Hello all,
I am currently writing an application that besides other thing ,ftps files from remote machines (running linux and solaris). My problem is this: i am connecting to remote machines as a user other than root and i have found that there is a possibility that i will encounter folders with... (3 Replies)
Discussion started by: noam128
3 Replies
6. UNIX for Dummies Questions & Answers
Hi Folks,
My problem is an easy one for the experts here. All my applications run using a user id that creates files with only the following default rights:
-rw-r-----
I want to modify this user's account such that it creates files that assign read access to the everyone group by default:... (7 Replies)
Discussion started by: umairrahman
7 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I want to execute a customised process like rating engine using a shell script from a directory other than the directory where the customizes process is placed.
I have tried it in the following way...and faced a issue
when shell script is available in directory /dir1/ and customized... (1 Reply)
Discussion started by: vkishore.btw
1 Replies
8. Cybersecurity
Hi everybody!
Sorry for my intrusion but I'd like to submit a problem which is driving me crazy!
To implement the application I'm working on I must set an application layer firewall,
consequently I've installed and configured on my machine Squid + Dansguardian vs 2.8
(I'm using Debianrelease... (2 Replies)
Discussion started by: rossella
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Is it true that if I am not the root I can not select access permissions to a file that I own so that my friend (who also isn't the root) can access that file?
And is it true that the only way to accomplish it is to ask the root to "put" my friend into "my" group? Then I could simply set... (1 Reply)
Discussion started by: rudo
1 Replies
10. OS X (Apple)
I've just Dl'd and installed the osxgnu package of danguardian and squid on my 10.2 machine, which is mainly used as a router/firewall (set up with brickhouse)
And now I'm not quite sure what to do next...I have a speedtouch 330 USB ADSL modem and I share the connection via built in ethernet. ... (1 Reply)
Discussion started by: mistafeesh
1 Replies
Bio::Restriction::EnzymeCollection(3pm) User Contributed Perl Documentation Bio::Restriction::EnzymeCollection(3pm)
NAME
Bio::Restriction::EnzymeCollection - Set of restriction endonucleases
SYNOPSIS
use Bio::Restriction::EnzymeCollection;
# Create a collection with the default enzymes.
my $default_collection = Bio::Restriction::EnzymeCollection->new();
# Or create a collection from a REBASE 'withrefm' file obtained from
# ftp://ftp.neb.com/pub/rebase/. (See Bio::Restriction::IO for more
# information.)
my $rebase = Bio::Restriction::IO->new(
-file => 'withrefm.610',
-format => 'withrefm' );
my $rebase_collection = $rebase->read();
# Or create an empty collection and set the enzymes later. See
# 'CUSTOM COLLECTIONS' below for more information.
my $empty_collection =
Bio::Restriction::EnzymeCollection->new( -empty => 1 );
# Get an array of Bio::Restriction::Enzyme objects from the collection.
my @enzymes = $default_collection->each_enzyme();
# Get a Bio::Restriction::Enzyme object for a particular enzyme by name.
my $enz = $default_collection->get_enzyme( 'EcoRI' );
# Get a Bio::Restriction::EnzymeCollection object containing the enzymes
# that have the equivalent of 6-bp recognition sequences.
my $six_cutters = $default_collection->cutters( 6 );
# Get a Bio::Restriction::EnzymeCollection object containing the enzymes
# that are rare cutters.
my $rare_cutters = $default_collection->cutters( -start => 6, -end => 8 );
# Get a Bio::Restriction::EnzymeCollection object that contains enzymes
# that generate blunt ends:
my $blunt_cutters = $default_collection->blunt_enzymes();
# See 'CUSTOM COLLECTIONS' below for an example of creating a
# Bio::Restriction::EnzymeCollection object with a specified subset of
# enzymes using methods provided by the Bio::RestrictionEnzyme class.
DESCRIPTION
Bio::Restriction::EnzymeCollection represents a collection of restriction enzymes.
If you create a new collection directly rather than from a REBASE file using Bio::Restriction::IO, it will be populated by a default set of
enzymes with site and cut information only.
Use Bio::Restriction::Analysis to figure out which enzymes are available and where they cut your sequence.
CUSTOM COLLECTIONS
Note that the underlying Bio::Restriction::Enzyme objects have a rich variety of methods that allow more complicated selections than the
methods that are defined by Bio::Restriction::EnzymeCollection.
For example, the way to create a custom collection of Type II enzymes is as follows:
my $complete_collection =
Bio::Restriction::EnzymeCollection->new();
my $type_ii_collection =
Bio::Restriction::EnzymeCollection->new( -empty => 1 );
$type_ii_collection->enzymes(
grep { $_->type() eq 'II' } $complete_collection->each_enzyme() );
SEE ALSO
Bio::Restriction::IO - read in enzymes from REBASE files
Bio::Restriction::Analysis - figure out what enzymes cut a sequence
Bio::Restriction::Enzyme - define a single restriction enzyme
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/
AUTHOR
Rob Edwards, redwards@utmem.edu
CONTRIBUTORS
Heikki Lehvaslaiho, heikki-at-bioperl-dot-org
COPYRIGHT
Copyright (c) 2003 Rob Edwards.
Some of this work is Copyright (c) 1997-2002 Steve A. Chervitz. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
APPENDIX
Methods beginning with a leading underscore are considered private and are intended for internal use by this module. They are not
considered part of the public interface and are described here for documentation purposes only.
new
Title : new
Function : Initializes the Restriction::EnzymeCollection object
Returns : The Restriction::EnzymeCollection object
Arguments : optional named parameter -empty
Set parameter -empty to true if you do NOT want the collection be populated by the default set of prototype type II enzymes.
Alternatively, pass an array of enzymes to -enzymes parameter.
Manipulate the enzymes within the collection
enzymes
Title : enzyme
Function : add/get method for enzymes and enzyme collections
Returns : object itself
Arguments : array of Bio::Restriction::Enzyme and
Bio::Restriction::EnzymeCollection objects
each_enzyme
Title : each_enzyme
Function : get an array of enzymes
Returns : array of Bio::Restriction::Enzyme objects
Arguments : -
get_enzyme
Title : get_enzyme
Function : Gets a Bio::Restriction::Enzyme object for the enzyme name
Returns : A Bio::Restriction::Enzyme object or undef
Arguments : An enzyme name that is in the collection
available_list
Title : available_list
Function : Gets a list of all the enzymes that we know about
Returns : A reference to an array with all the enzyme names
that we have defined or 0 if none are defined
Arguments : Nothing
Comments : Note, I maintain this for backwards compatibility,
but I don't like the name as it is very ambiguous
longest_cutter
Title : longest_cutter
Function : Gets the enzyme with the longest recognition site
Returns : A Bio::Restriction::Enzyme object
Arguments : Nothing
Comments : Note, this is used by Bio::Restriction::Analysis
to figure out what to do with circular sequences
Filter enzymes
blunt_enzymes
Title : blunt_enzymes
Function : Gets a list of all the enzymes that are blunt cutters
Returns : A reference to an array with all the enzyme names that
are blunt cutters or 0 if none are defined
Arguments : Nothing
Comments :
This is an example of the kind of filtering better done by the scripts using the rich collection of methods in Bio::Restriction::Enzyme.
cutters
Title : cutters
Function : Gets a list of all the enzymes that recognize a
certain size, e.g. 6-cutters
Usage : $cutters = $collection->cutters(6);
Returns : A reference to an array with all the enzyme names
that are x cutters or 0 if none are defined
Arguments : A positive number for the size of cutters to return
OR
A range: (-start => 6, -end => 8,
-inclusive => 1, -exclusive = 0 )
The default for a range is 'inclusive'
perl v5.14.2 2012-03-02 Bio::Restriction::EnzymeCollection(3pm)