Snakemake hello world example on LXPLUS and lxbatch
This is for LXPLUS 9 but it should be location independent.
However, as the LXPLUS home areas have limited storage, it is recommended that you run this example under your work (e.g. /afs/cern.ch/work/f/feickert
) directory.
pixi
curl -fsSL https://pixi.sh/install.sh | bash
and also enable the shell autocompletion
echo 'eval "$(pixi completion --shell bash)"' >> ~/.bashrc
and then restart shell or
. ~/.bash_profile
pixi run example
If you haven't installed the environment yet, pixi
will run the equivalent of pixi install
before executing your pixi run
command.
First run
pixi run lxbatch-init
to setup the Snakemake HTCondor profile and then run the example with
pixi run lxbatch-example