bbcf/gMiner — Issue #25: Structure output with a dictionary ?
Author: xapple
Created: 2011-11-21 15:12:29+00:00
State: open

In a discussion with Yohan, we started speaking about the format of the output of gMiner, currently a list of paths. Typically:

['/tmp/overlap.sql']

He was saying that it would be nice to know the type of the file created, as well as, the original request that created the file. This would mean structuring the output of gMiner with a dictionary. Something like:

{'request': {'track1' : '/scratch/genomic/tracks/refseq_ucsc.sql',
'track1_name' : 'hg19 refSeq genome-wide from UCSC',
'track2' : '/scratch/genomic/tracks/hiv_bushman.sql',
'track2_name' : 'hg19 HIV integration sites from liftOver',
'operation' : 'manipulate',
'manipulation' : 'overlap_track',
'output_location' : '/tmp/'}
,
'results': [{'path' : '/tmp/overlap.sql',
'type' : 'track'}
]
}

I guess this is low priority, but wanted to record our thoughts and share our thoughts.