- slug: icount-demultiplex-annotate
  name: iCount demultiplex and annotate
  description: Annote iCount samples after demultiplexing
  category: analyses:icount
  version: 0.0.1
  type: data:icount:annotsample
  requirements:
    expression-engine: jinja
  data_name: "Annotate iCount samples"
  persistence: CACHED
  input:
  - name: reads
    label: Sequencing reads
    type: data:reads:fastq:single
  - name: annotation
    label: Sample annotation file
    type: data:file:tab
  run:
    language: bash
    runtime: polyglot
    program: |
      icount_demultiplex_annotate.py "{{annotation.file.file}}" {{annotation|id}} {{reads|id}} {{proc.data_id}}
      re-checkrc "iCount sample demultiplexing and annotation failed."

- slug: icount-demultiplex-annotate
  name: iCount demultiplex and annotate
  description: Annote iCount samples after demultiplexing
  category: analyses:icount
  version: 0.0.2
  type: data:icount:annotsample
  requirements:
    expression-engine: jinja
  data_name: "Annotate iCount samples"
  persistence: TEMP
  input:
  - name: reads
    label: Sequencing reads
    type: data:reads:fastq:single
  - name: annotation
    label: Sample annotation file
    type: data:file:tab
  run:
    language: bash
    runtime: polyglot
    program: |
      icount_demultiplex_annotate.py "{{annotation.file.file}}" {{annotation|id}} {{reads|id}} {{proc.data_id}}
      re-checkrc "iCount sample demultiplexing and annotation failed."

Change iCount-demultiplex tool persistence to TEMP
Change iCount-demultiplex tool persistence to TEMP
