Skip to content

Activate conda environment and execute command #285

@nikhilshinde0909

Description

@nikhilshinde0909

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions