Git Product home page Git Product logo

arc2repo's Introduction

ENA converter in ARC2REPO

💻 We now have a single-page-application web app, testing and feedback are very welcome 😃
Please use arcCommander version 0.2.1 to create the JSON to convert
A prototype of ARC to ENA converter with docker image
requirement: python3.10 is required for xml support.

  • basic usage: python3.10 ena-converter.py
  • arguments:
    -a <json file from arc>
    -m <mapping file>
    example: python3 ena-converter.py -a inv.json -m mapping_ERC000037.xlsx

to test the converter, you can run it in the docker with prepared dockerfile Following commandlines can be used to build and run the docker image/container

  • Build: docker build --tag arc2repo .
  • Run: docker run -d --name a2r arc2repo
  • Copy the file to local: sudo docker cp a2r:/arc2repo .

You can also modify the input argument of the python script from docker commands, for example:

  • Run: docker run -d --name a2r arc2repo python3 ena-converter.py -a inv.json -m mapping_ERC000037.xlsx

Input: inv.json

inv.json is a output of ARCcommander See explaination here nfdi4plants/ARCCommander#66 arc export exports full arc as investigation.json

Output: STUDY.XML

STUDY.XML is one of the accepted file of ENA See explaination here https://www.ebi.ac.uk/ena/browser/submit To access the generated files, you could use sudo docker cp a2r:/arc2repo . to copy them from the docker container.

arc2repo's People

Contributors

xiaoranzhou avatar

Watchers

Timo Mühlhaus avatar  avatar

Forkers

andreaschrader

arc2repo's Issues

Extend instructions

Can you extend the instructions to indicate the expected outcome?
The converter (docker image) seems to run, but I'm not sure what's supposed to happen.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.