pandora icon indicating copy to clipboard operation
pandora copied to clipboard

Graph naming and md5

Open iqbal-lab opened this issue 7 years ago • 4 comments

  1. On indexing a pan PRG, could we give it a name eg with https://github.com/concentricsky/python-randomnames - much easier to refer to graphs that way

  2. Maybe store in header? Also Md5?

  3. It would be very valuable to be able to make a sub index of just a subset of local prgs, eg those present in at least one of a set of samples

iqbal-lab avatar Oct 20 '18 18:10 iqbal-lab

Assigning to @rffrancon just so he sees it.

iqbal-lab avatar Oct 20 '18 18:10 iqbal-lab

Ooh, sub index could just add an adjective to the name. Eg green angry rocket is subgraph of angry rocket

iqbal-lab avatar Oct 20 '18 18:10 iqbal-lab

MD5 is a failed hash function that should never be used again (see: wikipedia):

One basic requirement of any cryptographic hash function is that it should be computationally infeasible to find two non-identical messages which hash to the same value. MD5 fails this requirement catastrophically; such collisions can be found in seconds on an ordinary home computer.

I suggest SHA256.

How will we use graph names?

ffranr avatar Oct 22 '18 07:10 ffranr

Use graph names to refer to graphs. Easier to talk when I get back. Provides a human memorable way to refer to them "which e coli graph". Imagine we have a graph that has a considerable lifetime, and is referred to often. A long int/hash value is definitive, but maybe harder to use. Anyway, can discuss on my return.

iqbal-lab avatar Oct 22 '18 08:10 iqbal-lab