Added to perldoc instructions about the use of the environment variables.
[cxgn-corelibs.git] / lib / Bio / Seq / CXGNGenomic.pm
blobee2eeff63e56eaf78eacecc91e2c921217431636
1 package Bio::Seq::CXGNGenomic;
3 use Carp;
4 use English;
5 use base qw/Bio::Seq::Quality/;
6 use Data::Dumper;
8 use Class::MethodMaker
10 scalar => [ +{-type => 'CXGN::Genomic::GSS'}, 'gss_object' ],
13 #allowed to make new CXGNGenomic seqs
14 sub can_call_new {
18 sub vector_trimmed_trunc {
19 my $this = shift;
20 shift && croak 'Too many arguments to trimmed_seq.';
22 # print 'trimmed qual is '.$this->gss_object->trimmed_qual."\n";
24 __PACKAGE__->new(-display_id => $this->display_id,
25 -accession_number => $this->accession_number,
26 -alphabet => $this->alphabet,
27 -desc => $this->desc.' (vector and quality trimmed)',
28 -verbose => $this->verbose,
29 -primary_id => $this->primary_id,
30 -seq => $this->gss_object->trimmed_seq,
31 -qual => $this->gss_object->trimmed_qual || '1',
32 #above strange || '1' is there to sidestep BioPerl bugzilla bug #1824
38 ###
39 1;# do not remove
40 ###