ISA-tools/BioInvIndex — Issue #44: Cannot find our file in any collection...
Author: pconesa
Created: 2011-12-23 12:01:21+00:00
State: open

Hi Eamonn!

I think I have follow your indications and now we have a MetabolightsIndexer class in the bridge package (in our fork).

To index our "Metabolite asigments file" (a column in an nmr or ms assay) we need to access it. We just need the path, to open it an index it.

I have tried your suggestions:

assay.getXrefs();

and

assay.getAnnotations();

I am printing out to the console the values but this is what I get:

For annotations only one:
Annotation { #459011, text: a_firstuploadwithidentifiers_metabolite profiling_mass spectrometry.txt, type: FreeTextTerm{id=13, name='assayFileId', ontologyTerms=[]} }

For xRef 2:
xref found: getAcc():MYSQL21_bjpgnOFVfI, getId():327686, suorce:ReferenceSource{id='29' acc='0000366:NULL-ACCESSION:WEB:RAW' name='0000366:NULL-ACCESSION:WEB:RAW', url='', version='null', description='Raw Data Files Repository [metabolite profiling, mass spectrometry]'}
xref found: getAcc():MYSQL21_bjpgnOFVfI, getId():327687, suorce:ReferenceSource{id='30' acc='0000366:NULL-ACCESSION:WEB:PROCESSED' name='0000366:NULL-ACCESSION:WEB:PROCESSED', url='', version='null', description='Processed Data Files Repository [metabolite profiling, mass spectrometry]'}

None of them looks like our assignments file....

I could use the MYSQL21_bjpgnOFVfI value (DATA_LOCATION) and look for any file that ends with "_mas.csv", but my problem is that I don't know how to get the complete path....

Any suggestion?

Happy solstice! ;-)