Skip to content

Commit

Permalink
Merge branch 'master' into reorganization_2.x
Browse files Browse the repository at this point in the history
Make sure removed repos aren't carried over.
  • Loading branch information
Chris Fields committed Nov 29, 2011
2 parents 5b2a77b + 245f557 commit 6218096
Show file tree
Hide file tree
Showing 50 changed files with 3,145 additions and 4,939 deletions.
14 changes: 14 additions & 0 deletions Bio/AlignIO.pm
Expand Up @@ -375,6 +375,20 @@ sub fh {
return $s;
}


=head2 format
Title : format
Usage : $format = $stream->format()
Function: Get the alignment format
Returns : alignment format
Args : none
=cut

# format() method inherited from Bio::Root::IO


# _initialize is where the heavy stuff will happen when new is called

sub _initialize {
Expand Down
13 changes: 13 additions & 0 deletions Bio/Assembly/IO.pm
Expand Up @@ -141,6 +141,19 @@ sub new {
}


=head2 format
Title : format
Usage : $format = $stream->format()
Function: Get the assembly format
Returns : assembly format
Args : none
=cut

# format() method inherited from Bio::Root::IO


# _initialize is chained for all SeqIO classes
sub _initialize {
my($self, @args) = @_;
Expand Down
14 changes: 2 additions & 12 deletions Bio/Assembly/IO/ace.pm
Expand Up @@ -814,25 +814,15 @@ sub write_footer {
=head2 variant
Title : variant
Usage : $format = $obj->variant();
Usage : $variant = $ass_io->variant();
Function: Get and set method for the assembly variant. This is important since
not all assemblers respect the reference ACE format.
Returns : string
Args : string: 'consed' (default) or '454'
=cut

sub variant {
my ($self, $enc) = @_;
if (defined $enc) {
$enc = lc $enc;
if (not exists $variant{$enc}) {
$self->throw('Not a valid ACE variant format');
}
$self->{variant} = $enc;
}
return $self->{variant};
}
# variant() method inherited from Bio::Root::IO


=head2 _write_read
Expand Down
12 changes: 12 additions & 0 deletions Bio/ClusterIO.pm
Expand Up @@ -186,6 +186,18 @@ sub new {
}
}

=head2 format
Title : format
Usage : $format = $stream->format()
Function: Get the cluster format
Returns : cluster format
Args : none
=cut

# format() method inherited from Bio::Root::IO


# _initialize is chained for all ClusterIO classes

Expand Down

0 comments on commit 6218096

Please sign in to comment.