Skip to content

Instantly share code, notes, and snippets.

@kozo2
Created December 8, 2014 07:32
Show Gist options
  • Save kozo2/f037a4a0e78d284c4174 to your computer and use it in GitHub Desktop.
Save kozo2/f037a4a0e78d284c4174 to your computer and use it in GitHub Desktop.
ecocyc biopax bug
> biopax = readBiopax("biopax-level3.owl")
Found a BioPAX level 3 OWL. Parsing...
[Info Verbose] Parsing Biopax-Model as a data.table...
[Info Verbose] Estimating up to 439065 entries. This will roughly need 97 MB of RAM.
[Info Verbose] Where I came from this would've taken at least 1317 seconds!
[Info Verbose] Internal Rowcount: 8192 Instance: UnificationXref144348
[Info Verbose] Internal Rowcount: 16384 Instance: UnificationXref133936
[Info Verbose] Internal Rowcount: 24576 Instance: UnificationXref123794
[Info Verbose] Internal Rowcount: 32768 Instance: UnificationXref114026
[Info Verbose] Internal Rowcount: 40960 Instance: UnificationXref104731
[Info Verbose] Internal Rowcount: 49152 Instance: UnificationXref94974
[Info Verbose] Internal Rowcount: 57344 Instance: UnificationXref86554
[Info Verbose] Internal Rowcount: 65536 Instance: RelationshipXref150455
[Info Verbose] Internal Rowcount: 73728 Instance: RelationshipXref135958
[Info Verbose] Internal Rowcount: 81920 Instance: RelationshipXref119597
[Info Verbose] Internal Rowcount: 90112 Instance: RelationshipXref106158
[Info Verbose] Internal Rowcount: 98304 Instance: RelationshipXref91991
[Info Verbose] Internal Rowcount: 106496 Instance: PublicationXref152498
[Info Verbose] Internal Rowcount: 114688 Instance: PublicationXref138976
[Info Verbose] Internal Rowcount: 122880 Instance: PublicationXref126443
[Info Verbose] Internal Rowcount: 131072 Instance: PublicationXref112166
[Info Verbose] Internal Rowcount: 139264 Instance: PublicationXref96646
[Info Verbose] Internal Rowcount: 147456 Instance: PublicationXref82984
[Info Verbose] Internal Rowcount: 188416 Instance: Stoichiometry118114
[Info Verbose] Internal Rowcount: 204800 Instance: Stoichiometry103950
[Info Verbose] Internal Rowcount: 311296 Instance: ProteinReference121406
[Info Verbose] Internal Rowcount: 319488 Instance: SmallMolecule89483
[Info Verbose] Internal Rowcount: 327680 Instance: Pathway156125
[Info Verbose] Internal Rowcount: 335872 Instance: Pathway151632
[Info Verbose] Internal Rowcount: 344064 Instance: BiochemicalReaction141702
[Info Verbose] Internal Rowcount: 360448 Instance: Catalysis87793
[Info Verbose] Finished! Created a data.frame with 361873 rows within only 2291.39 seconds.
Warning message:
In internal_getBiopaxModelAsDataFrame(ret, biopaxxml, verbose = verbose) :
Something went wrong parsing: rowcount: 2 class: owl:Ontology id: Parsed row: owl:Ontology||rdfs:comment|EcoCyc%32Version%3218%465%46%10Copyright%32SRI%32International%321999%452014%44%32Marine%32Biological%32Laboratory%321998%452001%44%32DoubleTwist%32Inc%321998%451999%46%32%32All%32Rights%32Reserved%46 . Debug: i= 1 p= 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment