.\" Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "Bio::Tools::Analysis::Protein::Domcut 3pm" .TH Bio::Tools::Analysis::Protein::Domcut 3pm "2018-10-27" "perl v5.26.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Bio::Tools::Analysis::Protein::Domcut \- a wrapper around Domcut server .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 6 \& use Bio::Tools::Analysis::Protein::Domcut; \& #get a Bio::PrimarySeq \& use Bio::PrimarySeq; \& my $seq = Bio::PrimarySeq\->new \& (\-seq=>\*(AqIKLCVNLAILAKAHLIELALAL\*(Aq, \& \-primary_id=>\*(Aqtest\*(Aq); # a Bio::PrimarySeqI object \& \& my $domcut = Bio::Tools::Analysis::Protein::Domcut\->new (\-seq=>$seq); \& $domcut\->run; \& print $domcut\->result;# #raw text to standard out .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" A module to remotely retrieve predictions of protein domain boundaries. Each residue in the protein receives a score, those better than the significance threshold and at a local minimum receive a rank \- i.e., the best minimum is rank 1, the second best minimum is rank2 etc. These correspond to domain boundaries. e.g., .PP .Vb 2 \& my $analysis_object = Bio::Tools::Analysis::Protein::Domcut\->new \& (\-seq => $seq); .Ve .PP creates a new object. The sequence supplied must be a Bio::PrimarySeq and not a Bio::Seq object. .PP .Vb 1 \& $analysis_object\->run; .Ve .PP submits the query to the server and obtains raw text output .PP Given an amino acid sequence the results can be obtained in 4 formats, determined by the argument to the result method .IP "1." 4 The raw text of the program output .Sp .Vb 1 \& my $rawdata = $analysis_object\->result; .Ve .IP "2." 4 A reference to an array of hashes of scores for each state and the assigned state. Each element in the array is a residue (indexed from 0). .Sp .Vb 3 \& my $data_ref = $analysis_object\->result(\*(Aqparsed\*(Aq); \& print "score for helix at residue 2 is $data_ref\->[1]{\*(Aqhelix\*(Aq}\en"; \& print "predicted struc at residue 2 is $data_ref\->[1]{\*(Aqstruc}\en"; .Ve .IP "3." 4 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. So, in order to add features to an existing Bio::Seq object; .Sp .Vb 5 \& # get a Bio::Seq object \& my $seqobj; \& my $tool = Bio::Tools::Analysis::Protein::Domcut\->new \& ( \-seq => $seqobj\->primary_seq); \& $tool\->run; \& \& my @fts = $tool\->result(Bio::SeqFeatureI); \& \& $seqobj\->add_SeqFeature(@fts); \& \& # if you want meta sequences as well : \& my $meta = $tool\->result(\*(Aqmeta\*(Aq); \& $seqobj\->primary_seq($meta); \& \& # can access meta data in a Bio::Seq object via a \& # call to primary_seq: \& \& print $seq4\->primary_seq\->named_submeta_text(\*(AqDomcut\*(Aq, 1,2), "\en"; .Ve .IP "4." 4 A Bio::Seq::Meta::Array implementing sequence. .Sp 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 Domcut prediction scores. e.g., .Sp .Vb 3 \& my $meta_sequence = $analysis_object\->result(\*(Aqmeta\*(Aq); \& print "scores from residues 10 \-20 are ", \& $meta_sequence\->submeta_text(10,20), "\en"; .Ve .Sp Many methods common to all analyses are inherited from Bio::Tools::Analysis::SimpleAnalysisBase. .SH "SEE ALSO" .IX Header "SEE ALSO" Bio::SimpleAnalysisI, Bio::Tools::Analysis::SimpleAnalysisBase, Bio::Seq::Meta::Array, Bio::WebAgent .SH "FEEDBACK" .IX Header "FEEDBACK" .SS "Mailing Lists" .IX Subsection "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. .PP .Vb 2 \& bioperl\-l@bioperl.org \- General discussion \& http://bioperl.org/wiki/Mailing_lists \- About the mailing lists .Ve .SS "Support" .IX Subsection "Support" Please direct usage questions or support issues to the mailing list: .PP \&\fIbioperl\-l@bioperl.org\fR .PP 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. .SS "Reporting Bugs" .IX Subsection "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: .PP .Vb 1 \& https://github.com/bioperl/bioperl\-live/issues .Ve .SH "AUTHORS" .IX Header "AUTHORS" Richard Adams, Richard.Adams@ed.ac.uk, .SH "APPENDIX" .IX Header "APPENDIX" The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ .SS "result" .IX Subsection "result" .Vb 5 \& Name : result \& Purpose : To retrieve results of analysis in one of several formats. \& Usage : $job\->result (...) \& Returns : a result created by running an analysis \& Args : various \- see keysin $RESULT_SPEC. .Ve .PP 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. .PP This implementation returns differently processed data depending on argument: .IP "undef" 3 .IX Item "undef" Returns the raw \s-1ASCII\s0 data stream but without \s-1HTML\s0 tags .IP "'Bio::SeqFeatureI'" 3 .IX Item "'Bio::SeqFeatureI'" The argument string defines the type of bioperl objects returned in an array. The objects are Bio::SeqFeature::Generic. Tagnames are 'score' and 'rank'. .IP "'parsed'" 3 .IX Item "'parsed'" Array of array references of [score, rank]. .IP "'all'" 3 .IX Item "'all'" A Bio::Seq::Meta::Array object. Scores can be accessed using methods from this class. Meta sequence name is Domcut.