About
One of the main applications for Bio-Chaos is to turn a GenBank file into a Chaos-XML file or Datastore. This is done using the
cx-genbank2chaos.plscript, which comes as part of the Bio-Chaos distribution.
This is not a simple matter of file conversion - the genbank format (both flat file and XML) can be both ambiguous and lossy. The gory details of recovering standardised, chado and SO compliant feature graphs is handled using a part of BioPerl called the Unflattener.
Use
You do not need to know the gory details if all you want is a Chaos-XML file or a Chaos Datastore - you can just run the script, like this:
cx-genbank2chaos.pl -islands t/data/NT_010755.gbk
You can get help at any time by using the
-hoption. Or you can look at the CPAN Documentation page for this script