# Output in the format of an input schema

**URL:** <https://cwl.discourse.group/t/output-in-the-format-of-an-input-schema/27>\
**Category:** CWL Questions\
**Created:** [August 26, 2019, 4:55pm UTC](https://cwl.discourse.group/t/output-in-the-format-of-an-input-schema/27 "2019-08-26T16:55:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DiDeoxy](https://yyz2.discourse-cdn.com/free1/user_avatar/cwl.discourse.group/dideoxy/32/19_2.png) [@DiDeoxy](https://cwl.discourse.group/u/DiDeoxy)\
**Post date:** [August 26, 2019, 4:55pm UTC](https://cwl.discourse.group/t/output-in-the-format-of-an-input-schema/27/1 "2019-08-26T16:55:23Z")

</div>

Hi, I have an input schema that I’ve built several tools around, some of which I want to chain together. For example fastqc and cutadapt accept reads in this schema. I want to be able to chain the output from cutadapt (trimmed paired end fatq file) to fastqc using the input schema. How do I get the trimmed reads output by cutadapt into the input schema format? The bentene language server syas I can’t using mappings in the output of a command line tool.

Cheers,

Max.

---

<div class="post-metadata">

**Author:** ![kaushik-work](https://yyz2.discourse-cdn.com/free1/user_avatar/cwl.discourse.group/kaushik-work/32/11_2.png) [@kaushik-work](https://cwl.discourse.group/u/kaushik-work)\
**Post date:** [October 16, 2019, 5:57pm UTC](https://cwl.discourse.group/t/output-in-the-format-of-an-input-schema/27/2 "2019-10-16T17:57:25Z")

</div>

Hi @DiDeoxy, could you post a snippet of the CWL you are using? Is the input schema in a different file? Thanks!
