Generating both SIF and EXTENDED_SIF from scratch for each BioPAX file (e.g.. by data source) in the downloads is either unnecessary or can be done faster.
We could skip generating SIF archives at first (and generate only EXTENDED_SIF). Then, quickly create all SIF outputs from the EXTENDED_SIF archives: read an EXTENDED_SIF file up to the blank line and save the text as SIF, in a separate file.
Generating both SIF and EXTENDED_SIF from scratch for each BioPAX file (e.g.. by data source) in the downloads is either unnecessary or can be done faster.
We could skip generating SIF archives at first (and generate only EXTENDED_SIF). Then, quickly create all SIF outputs from the EXTENDED_SIF archives: read an EXTENDED_SIF file up to the blank line and save the text as SIF, in a separate file.