warelab / sciapps

SciApps: a cloud-based platform for reproducible bioinformatics workflows
https://www.sciapps.org
Apache License 2.0
2 stars 1 forks source link

Merging two files with same name #77

Closed liyawang closed 7 years ago

liyawang commented 7 years ago

Since Agave will copy both to the same folder, they will be replaced with each other. Alternatively, they can be put in a folder with different file names. The following test works fine:

liyawang commented 7 years ago

For merging, to get individual filenames, do following files=($input_folder/*)

Then access each file as ${files[0]}, ${files[1]}, ...

For apps before merging, try to append input filename to output filenames so they won't overlap with merging. But the output folder name is the same since SciApps/Agave is forcing that for building a workflow.