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

Activate conda environment and execute command #285

Open
nikhilshinde0909 opened this issue Jun 10, 2023 · 0 comments
Open

Activate conda environment and execute command #285

nikhilshinde0909 opened this issue Jun 10, 2023 · 0 comments

Comments

@nikhilshinde0909
Copy link

I want to activate the conda environment and execute the command with bpipe but it's not working

Here is my script which is not activating the env

//FEELnc shuffle mode
shuffle_dir="FEELnc_shuffle_out"

activate_feelnc_env = {
exec """
source $Activate $FEELnc
"""
}

feelnc_shuffle_filter = {
output.dir=shuffle_dir
from("genome_merged.gtf") produce("feelnc_shuffle_filter.log","feelnc_shuffle_filter.gtf"){
exec "$perl $FEELnc_filter --proc=$threads --infile=$input --mRNAfile=$annotation $shuffle_filter_options --outlog=$output1 > $output2"
}
}
run {activate_feelnc_env + feelnc_shuffle_filter }

Please guide me in this regard

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

1 participant