view expose-outputs-to-galaxy-history.sh @ 1:d74e8ffcf88f draft default tip

planemo upload commit 841d8b22bf9f1aaed6bfe8344b60617f45b275b2-dirty
author mingchen0919
date Sun, 30 Dec 2018 13:56:16 -0500
parents 0358f6f78adf
children
line wrap: on
line source

# change directory to tool outputs directory
cd ${REPORT_FILES_PATH}

# copy outputs from tool outputs directory to corresponding galaxy output path
if [ -e "rmarkdown_report.html" ]; then
  cp rmarkdown_report.html ${REPORT}
fi

if [ -e "index.html" ]; then
  cp index.html ${REPORT}
fi


if [ -e trim-trimmed-pair1.fastq ]; then
  cp trim-trimmed-pair1.fastq ${X_1}
fi

if [ -e trim-trimmed-pair2.fastq ]; then
  cp trim-trimmed-pair2.fastq ${X_2}
fi

if [ -e trim-trimmed.fastq ]; then
  cp trim-trimmed.fastq ${X_3}
fi