sub start { my ($self, $divisions, $file, $dump_all) = @_; $self->SUPER::start($divisions, $file, $dump_all); for my $fh (values %{$self->{files}}) { print $fh "[\n"; } return; }
Implementation to dump metadata details to a JSON file. See Bio::EnsEMBL::MetaData::MetaDataDumper for method details.
Bio::EnsEMBL::MetaData::MetaDataDumper
Definition at line 21 of file JsonMetaDataDumper.pm.
Available Methods | |
protected | _write_metadata_to_file () |
public void | dump_metadata () |
public | end () |
public | logger () |
public Hashref | metadata_to_hash () |
public | new () |
public | start () |
public void | write_metadata () |
public String | yesno () |
protected Bio::EnsEMBL::MetaData::MetaDataDumper::JsonMetaDataDumper::_write_metadata_to_file | ( | ) |
public void Bio::EnsEMBL::MetaData::MetaDataDumper::dump_metadata | ( | ) | [inherited] |
Description: Write supplied metadata to file Arg : Arrayref of Bio::EnsEMBL::MetaData::GenomeInfo Arg : File to write to Arg : Arrayref of divisions Arg : Whether to dump to "all" file Returntype : none Exceptions : none Caller : general Status : Stable
public Bio::EnsEMBL::MetaData::MetaDataDumper::JsonMetaDataDumper::end | ( | ) |
public Bio::EnsEMBL::MetaData::MetaDataDumper::logger | ( | ) | [inherited] |
Undocumented method
public Hashref Bio::EnsEMBL::MetaData::MetaDataDumper::metadata_to_hash | ( | ) | [inherited] |
Description: Turn metadata into hash Arg : Arrayref of Bio::EnsEMBL::MetaData::GenomeInfo Returntype : Hashref Exceptions : none Caller : internal Status : Stable
public Bio::EnsEMBL::MetaData::MetaDataDumper::JsonMetaDataDumper::new | ( | ) |
public Bio::EnsEMBL::MetaData::MetaDataDumper::JsonMetaDataDumper::start | ( | ) |
public void Bio::EnsEMBL::MetaData::MetaDataDumper::write_metadata | ( | ) | [inherited] |
Arg : Arrayref of Bio::EnsEMBL::MetaData::GenomeInfo Arg : Division to write to Description: Write metadata to division files Returntype : none Exceptions : none Caller : general Status : Stable
public String Bio::EnsEMBL::MetaData::MetaDataDumper::yesno | ( | ) | [inherited] |
Description: Turn defined/integer into Y/N Arg : Integer 1/0 Returntype : String Exceptions : none Caller : internal Status : Stable