@@ -12,21 +12,13 @@ For more information about using Singularity with UPPMAX, follow the [Singularit
1212> ssh -AX [USER]@rackham.uppmax.uu.se
1313# Or just open a terminal
1414
15- # create directories
16- > mkdir nextflow_install
17- > cd nextflow_install
15+ # Download the all Nextflow bundle
16+ > wget https://github.com/nextflow-io/nextflow/releases/download/v[xx.yy.zz]/nextflow-[xx.yy.zz]-all
1817
19- # Install Nextflow
20- > curl -s https://get.nextflow.io | bash
21- > cd ..
22-
23- # Archive Nextflow
24- > tar czvf nextflow_v[xx.yy.zz].tgz .nextflow nextflow_install/nextflow
25-
26- # Send the tar to bianca (here using sftp)
18+ # Send to bianca (here using sftp)
2719# For FileZilla follow the bianca user guide
2820> sftp [USER]-[PROJECT]@bianca-sftp.uppmax.uu.se:[USER]-[PROJECT]
29- > put nextflow_v [xx.yy.zz].tgz
21+ > put nextflow- [xx.yy.zz]-all
3022
3123# Exit sftp
3224> exit
@@ -37,37 +29,28 @@ For more information about using Singularity with UPPMAX, follow the [Singularit
3729# Go to your project
3830> cd /castor/project/proj_nobackup
3931
40- # Make and go into a Nextflow directoy
32+ # Make directory for Nextflow
4133> mkdir tools
4234> mkdir tools/nextflow
43- > cd tools/nextflow
44-
45- # Copy the tar from wharf to the project
46- > cp /castor/project/proj_nobackup/wharf/[USER]/[USER]-[PROJECT]/nextflow_v[xx.yy.zz].tgz /castor/project/proj_nobackup/tools/nextflow
47-
48- # extract Nextflow
49- > tar xzvf nextflow_v[xx.yy.zz].tgz
5035
51- # Move files
52- > mv .nextflow nextflow_v[xx.yy.zz]
53- > mv nextflow_install nextflow_v[xx.yy.zz]/bin
36+ # Move Nextflow from wharf to its directory
37+ > mv /castor/project/proj_nobackup/wharf/[USER]/[USER]-[PROJECT]/nextflow-[xx.yy.zz]-all /castor/project/proj_nobackup/tools/nextflow
5438
55- # Establish permission for some files
56- > chmod 755 nextflow_v[xx.yy.zz]/bin/nextflow
57- > chmod 660 nextflow_v[xx.yy.zz]/framework/[xx.yy.zz]/nextflow-[xx.yy.zz]-one.jar
39+ # Establish permission
40+ > chmod a+x /castor/project/proj_nobackup/tools/nextflow/nextflow-[xx.yy.zz]-all
5841
5942# If you want other people to use it
6043# Be sure that your group has rights to the directory as well
6144
62- > chown -R .[PROJECT] nextflow_v [xx.yy.zz]
45+ > chown -R .[PROJECT] /castor/project/proj_nobackup/tools/nextflow/nextflow- [xx.yy.zz]-all
6346
64- # Clean directory
65- > rm nextflow_v [xx.yy.zz].tgz
47+ # Make a link to it
48+ > ln -s /castor/project/proj_nobackup/tools/nextflow/nextflow- [xx.yy.zz]-all /castor/project/proj_nobackup/tools/nextflow/nextflow
6649
6750# And everytime you're launching Nextflow, don't forget to export the following ENV variables
6851# Or add them to your .bashrc file
69- > export NXF_HOME=/castor/project/proj/nobackup/tools/nextflow/nextflow_v[xx.yy.zz]
70- > export PATH=${NXF_HOME} /bin :${PATH}
52+ > export NXF_HOME=/castor/project/proj/nobackup/tools/nextflow/
53+ > export PATH=${NXF_HOME} :${PATH}
7154> export NXF_TEMP=$SNIC_TMP
7255> export NXF_LAUNCHER=$SNIC_TMP
7356```
0 commit comments