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

Multiple outputs - correct pattern #78

Open
samwalrus opened this issue Feb 19, 2020 · 1 comment
Open

Multiple outputs - correct pattern #78

samwalrus opened this issue Feb 19, 2020 · 1 comment

Comments

@samwalrus
Copy link

Hi this is just a question, but maybe an example in the documentation would be helpful.

If I have a command that produces multiple output files what is the best way to write this. I think If am using the pattern :

['file_00','file_01'] <-- ['starting.file'],'split -l 8 -d -a 2 starting.file file_'.

'go' <-- ['file_01','file_00'].

Running 'biomake -Q pbs go', will I think in the case means that' split' is run twice.

But In the following running 'biomake -Q pbs go2' I think split is only run once.

['file_method2_00'] <-- ['starting.file'],'split -l 8 -d -a 2 starting.file file_method2_'.

['file_method2_01'] <-- ['file_method2_00'].
'go2' <-- ['file_method2_01'].

I think when either of these are run locally biomake is smart enough not to run twice.
This is okay for when there is only two outputs but if I have many outputs it becomes in elegant, I think we should be able to get Prolog to infer the correct way to submit the jobs?

@rulatir
Copy link

rulatir commented Oct 7, 2020

#81 might be related.

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

No branches or pull requests

2 participants