c3g / GenPipes

GenPipes Read the Docs repository
20 stars 5 forks source link

Set up latest GenPipes modules for 5.0.0 and try a few pipelines #251

Closed shaloo closed 2 months ago

shaloo commented 5 months ago

This would help document the user guide section and incorporate changes from the older use model.

@MareikeJaniak @pphector can you help me set this up on Beluga/Cedar one of these days or show me a demo and I can take it from there. It will also help me test/validate doc updates to ensure smooth onboarding for the new GenPipes users. Thx.

MareikeJaniak commented 5 months ago

Yes! Give us about a week to finalize the last big merge. Thanks for your help!

MareikeJaniak commented 5 months ago

Hi Shaloo, If you'd like to test out the new genpipes on beluga, you can clone the package branch from our bitbucket repo and pip install it like this:

# set up environment
export MUGQIC_INSTALL_HOME=/cvmfs/soft.mugqic/CentOS6
module use $MUGQIC_INSTALL_HOME/modulefiles

# clone and pip install
git clone --depth 3 --branch package https://bitbucket.org/mugqic/genpipes.git
export MUGQIC_PIPELINES_HOME=<clone_location>/genpipes
module purge
module load mugqic/python/3.11.1
pip install -e $MUGQIC_PIPELINES_HOME

# new genpipes command:
genpipes <pipeline> -c <base_ini> <server_ini> -t <protocol> -r <readset_file>

# Example:
genpipes dnaseq -c $MUGQIC_PIPELINES_HOME/genpipes/pipelines/dnaseq/dnaseq.base.ini \
  $MUGQIC_PIPELINES_HOME/genpipes/pipelines/common_ini/beluga.ini \
  -r $MUGQIC_INSTALL_HOME/testdata/dnaseq/readset.dnaseq.txt \
  -t germline_snv -g dnaseq_germline.commands.sh
shaloo commented 4 months ago

This works for me, thx.

I'm going to update (5.0 docs) all pipeline usage commands accordingly.

shaloo commented 2 months ago

Done.