Re: [DIYbio] Re: [Biopython] Thermocycler program file format(ting)

toml is another format, which I think is better for human readability than JSON

https://github.com/toml-lang/toml

And there is a python parser for it

https://github.com/f03lipe/toml-python

just another suggestion :)



On Thu, May 14, 2015 at 10:28 AM, Cathal Garvey <cathalgarvey@cathalgarvey.me> wrote:
I think a JSON representation makes more sense, personally; that way, it's easily consumed by any programme or translated easily back into a human representation. I may break out the aforementioned OpenPyCR functionality into a translator from plain->JSON.

Suggested format:

{ "headers": {
    "title": "My favourite program",
    "created": <unix-timestamp>
  },
  "program": [
    {"type": "step", "title": "Heat Lid", },
    {"type": "step", "title": "Hot start", "block_tm":95, "hold": <seconds>},
    {"type": "loop", "steps": [<program steps in same format>]},
  ]
}

On 13/05/15 15:33, Ben Sima wrote:
If these PCR programs are just Python code, then you could just save
them in .py files.

Do you have a small example of what you're trying to save?

-Ben


On Wednesday, May 13, 2015 at 8:10:37 AM UTC-4, Bryan Bishop wrote:


    From: Horea Christian <h....@mail.ru <javascript:>>
    Date: Wed, May 13, 2015 at 6:38 AM
    Subject: [Biopython] Thermocycler program file format(ting)
    To: biop...@mailman.open-bio.org <javascript:>


    __
    I would like to store my Thermocycler (pcr) programs on my server to
    better keep track of them. Do you know any good format/style to do
    that in? does biopythonhave any thermocycler program objects?

    Right now I was thinking of saving this in a normal .csv file, but
    the entire iterative aspect of PCR seems difficult for me to convey
    in a concise matter in a .csv file. Would you have any suggestions?


    Best Regards,
    Christian

    --
    *Horea Christian, M.Sc.*
    Doctoral Researcher
    Institute for Biomedical Engineering
    Neuroscience Center Zurich
    *ETH Zurich and UZH*

    Email, horea....@gmail.com <javascript:>
    Online portal, chymera.eu <http://chymera.eu>


    _______________________________________________
    Biopython mailing list  - Biop...@mailman.open-bio.org <javascript:>
    http://mailman.open-bio.org/mailman/listinfo/biopython
    <http://mailman.open-bio.org/mailman/listinfo/biopython>



    --
    - Bryan
    http://heybryan.org/
    1 512 203 0507

--
-- You received this message because you are subscribed to the Google
Groups DIYbio group. To post to this group, send email to
diybio@googlegroups.com. To unsubscribe from this group, send email to
diybio+unsubscribe@googlegroups.com. For more options, visit this group
at https://groups.google.com/d/forum/diybio?hl=en
Learn more at www.diybio.org
---
You received this message because you are subscribed to the Google
Groups "DIYbio" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to diybio+unsubscribe@googlegroups.com
<mailto:diybio+unsubscribe@googlegroups.com>.
To post to this group, send email to diybio@googlegroups.com
<mailto:diybio@googlegroups.com>.
Visit this group at http://groups.google.com/group/diybio.
To view this discussion on the web visit
https://groups.google.com/d/msgid/diybio/59b18eaa-f49b-4083-bb25-8a15eef3e1b4%40googlegroups.com
<https://groups.google.com/d/msgid/diybio/59b18eaa-f49b-4083-bb25-8a15eef3e1b4%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
Scientific Director, IndieBio Irish Programme
 Now running in Cork, Ireland May->July
 Learn more at http://eu.indie.bio and follow along!
Twitter:  @onetruecathal
Phone: +353876363185
miniLock: JjmYYngs7akLZUjkvFkuYdsZ3PyPHSZRBKNm6qTYKZfAM
peerio.com: cathalgarvey

--
-- You received this message because you are subscribed to the Google Groups DIYbio group. To post to this group, send email to diybio@googlegroups.com. To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/diybio?hl=en
Learn more at www.diybio.org
--- You received this message because you are subscribed to the Google Groups "DIYbio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diybio+unsubscribe@googlegroups.com.
To post to this group, send email to diybio@googlegroups.com.
Visit this group at http://groups.google.com/group/diybio.
To view this discussion on the web visit https://groups.google.com/d/msgid/diybio/5554B123.5020405%40cathalgarvey.me.

For more options, visit https://groups.google.com/d/optout.

--
-- You received this message because you are subscribed to the Google Groups DIYbio group. To post to this group, send email to diybio@googlegroups.com. To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/diybio?hl=en
Learn more at www.diybio.org
---
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diybio+unsubscribe@googlegroups.com.
To post to this group, send email to diybio@googlegroups.com.
Visit this group at http://groups.google.com/group/diybio.
To view this discussion on the web visit https://groups.google.com/d/msgid/diybio/CALWEkZT%3DhJwf%2BbSy_Yg42tCqewAKHMfAmFqOjcE%2Bk2pxWC_QSg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comments:

Post a Comment