1 package Bio
::Seq
::CXGNGenomic
;
5 use base qw
/Bio::Seq::Quality/;
10 scalar => [ +{-type
=> 'CXGN::Genomic::GSS'}, 'gss_object' ],
13 #allowed to make new CXGNGenomic seqs
18 sub vector_trimmed_trunc
{
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