Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transform should not overwrite input files if output file would be produced with same name as input #54

Open
lonsbio opened this issue Oct 20, 2014 · 0 comments

Comments

@lonsbio
Copy link
Collaborator

lonsbio commented Oct 20, 2014

From [email protected] on 2012-08-14T13:26:13Z

It's possible to construct a transform() that will make an output file the same name as an input file and destroy the input. eg:

transform("bam") {
exec "command $input.bed $input.bam > $output"
}

Bpipe should notice that the output file is going to have the same name as an input (or output from previous stage) and prevent that happening.

Original issue: http://code.google.com/p/bpipe/issues/detail?id=54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant