Giter Club home page Giter Club logo

galaxy2cwl's People

Contributors

bedroesb avatar ieguinoa avatar mr-c avatar stain avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

galaxy2cwl's Issues

Error while running galaxy2cwl.

I am getting an error running the galaxy2cwl.py

  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

Please troubleshoot it.

comments from bcc2020 cofest

API for integration into an open source site

This is a request for the API for Galaxy Community's existing workflows. As a member of the community, I am liable for including all the existing workflows into our discussion forum. If it's possible on your side, please guide me on getting the API. We can converse here, or you can mail me at [email protected]. Thanks!

ISSUE in using galaxy2cwl

(.venv) (base) beacon@2023BH01:~/workflow$ galaxy2cwl Somatic-Variant-Discovery-from-WES-Data-Using-Control-FREEC.ga > somatic_corkflow.cwl
Traceback (most recent call last):
File "/home/beacon/.venv/bin/galaxy2cwl", line 8, in
sys.exit(main())
File "/home/beacon/.venv/lib/python3.8/site-packages/galaxy2cwl/get_cwl_interface.py", line 287, in main
cwl_out = process_format1_json(wf_dict)
File "/home/beacon/.venv/lib/python3.8/site-packages/galaxy2cwl/get_cwl_interface.py", line 78, in process_format1_json
source_output_name = sanitize_source(input_details['output_name'])
TypeError: list indices must be integers or slices, not str

General comments/discussions/etc

  • The idea is that if i generate a cwl-abstract file now with this then, in the future, it could be updated(as in, generating a new version) when the full galaxy-cwl is working, which will produce executable cwl descriptions. So...look carefully what and how the executable cwl is being produced from galaxy in the galaxy-cwl project (see https://github.com/common-workflow-language/galaxy)

  • All steps in the CWL-abstract should have the same class ? something like Galaxy_step, how does this affects the evolution of the generated cwl-abstract to the real ones in the future? what is it actually being printed as class in the cwl-galaxy project?

  • The main thing that I should take into account to implement this is that all 3 ids (the one in the galaxy workflow file and the ones i set for cwl abstract in each case...from run or from static workflow), are the same in each step. -Take into account the different Galaxy workflow format versions AND the CWL versions: should I create different branches for the versions/combinations

  • Datatypes: when extracting input/output datatypes from Galaxy workflow steps, can I assume these datatypes exist in CWL? otherwise is there any way to convert them to CWL types? even if its not a 1-to-1 correlation. or what is the intersection between Galaxy datatypes and CWL types?. what about Galaxy tools that define specific types?
    CWL uses ontologies to define formats. The can be from IANA (https://www.iana.org/assignments/media-types/media-types.xhtml) or EDAM (https://www.ebi.ac.uk/ols/ontologies/edam/terms?iri=http%3A%2F%2Fedamontology.org%2Fformat_1915)
    See also https://www.commonwl.org/user_guide/16-file-formats/
    For example, to indicate a bam file, it should be
    type: File
    label: Aligned sequences in BAM format
    format: edam:format_2572

  • Something similar to datatypes happens with tool/job information about the operation it is performing, ideally i would like to tag that using edam, but thats only available in a handful of galaxy tools, although it should be widely available if i look in bio.tools but there is no direct link between galaxy tools and bio.tools entries

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.