Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defining file formats #16

Open
rcannood opened this issue Feb 2, 2024 · 0 comments
Open

Defining file formats #16

rcannood opened this issue Feb 2, 2024 · 0 comments

Comments

@rcannood
Copy link
Contributor

rcannood commented Feb 2, 2024

File format specifications

If a component returns a directory or data structure such as AnnData or MuData, a specification of the file format should be provided.

Directory file format specification

functionality:
  # ...
  arguments:
    - name: --output
      type: file
      # ...
      example: output/
      info:
        format:
          - type: directory
            contents:
              - type: file
                name: counts.csv
                description: Normalised expression values
                required: true
              - type: file
                name: size_factors.csv
                description: The size factors created by the normalisation method, if any.
                required: false

AnnData file format specification

functionality:
  # ...
  arguments:
    - name: --output
      type: file
      # ...
      example: output.h5ad
      info:
        format:
          layers:
            - type: double
              name: normalized
              description: Normalised expression values
              required: true
          obs:
            - type: double
              name: size_factors
              description: The size factors created by the normalisation method, if any.
              required: false
          uns:
            - type: string
              name: normalization_id
              description: "Which normalization was used"
              required: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant