pallassgj / bpipe

Automatically exported from code.google.com/p/bpipe
0 stars 1 forks source link

Access to original $input files from command line #102

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using the "from" structure I can access outputs from previous stages in the 
pipeline, but I don't seem to be able to access the original input files.

My pipeline does a number of intermediate calculations using the original input 
files (in parallel), and then applies the resulting transformation to the 
original input. Thus, I need the original file name to do this.

Original issue reported on code.google.com by gdeve...@gmail.com on 10 Oct 2014 at 9:13

GoogleCodeExporter commented 9 years ago
Solved the problem using a branch variable in the first stage
branch.origname = "$input"

Then I use $origname at the last stage to use the original input file.

It would be nice if "from" would scan all the way back to the original input 
files, rather than just up to the first stage.

Original comment by gdeve...@gmail.com on 10 Oct 2014 at 11:13