Skip to content
This repository was archived by the owner on Jan 27, 2020. It is now read-only.

Commit 0fd73f7

Browse files
authored
Merge pull request #627 from alneberg/update_doc
Update doc
2 parents c63d813 + d782457 commit 0fd73f7

2 files changed

Lines changed: 16 additions & 11 deletions

File tree

doc/INSTALL_BIANCA.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,24 @@ For more information about using Singularity with UPPMAX, follow the [Singularit
1313
# Or just open a terminal
1414

1515
# create directories
16-
> mkdir install
17-
> mkdir install/bin
18-
> cd install/bin
16+
> mkdir nextflow_install
17+
> cd nextflow_install
1918

2019
# Install Nextflow
2120
> curl -s https://get.nextflow.io | bash
2221
> cd ..
2322

2423
# Archive Nextflow
25-
> tar czvf nextflow_v[xx.yy.zz].tgz .nextflow bin/nextflow
24+
> tar czvf nextflow_v[xx.yy.zz].tgz .nextflow nextflow_install/nextflow
2625

2726
# Send the tar to bianca (here using sftp)
2827
# For FileZilla follow the bianca user guide
2928
> sftp [USER]-[PROJECT]@bianca-sftp.uppmax.uu.se:[USER]-[PROJECT]
3029
> put nextflow_v[xx.yy.zz].tgz
3130

31+
# Exit sftp
32+
> exit
33+
3234
# Connect to bianca
3335
> ssh -A [USER]-[PROJECT]@bianca.uppmax.uu.se
3436

@@ -48,7 +50,7 @@ For more information about using Singularity with UPPMAX, follow the [Singularit
4850

4951
# Move files
5052
> mv .nextflow nextflow_v[xx.yy.zz]
51-
> mv bin nextflow_v[xx.yy.zz]/bin
53+
> mv nextflow_install nextflow_v[xx.yy.zz]/bin
5254

5355
# Establish permission for some files
5456
> chmod 755 nextflow_v[xx.yy.zz]/bin/nextflow
@@ -121,13 +123,15 @@ Wrote Sarek-[snapID].tar.gz
121123
# For FileZilla follow the bianca user guide
122124
> sftp [USER]-[PROJECT]@bianca-sftp.uppmax.uu.se:[USER]-[PROJECT]
123125
> put Sarek-[snapID].tar.gz
126+
> exit
124127

125128
# To get the containers
126129
# This script will need Singularity and Nextflow installed
127-
# If executed on Rackham: The script needs to be started from an interactive session
128-
# with at least two cores. The scripts will write about 12 Gb data to ~/.singularity,
129-
# so this amount of disk space needs to be available in the users home directory on Rackham.
130-
#
130+
# If executed on Rackham: The script needs to be started from an interactive session
131+
# with at least two cores and approximately 3 hours. The scripts will write about
132+
# 12 Gb data to ~/.singularity, so this amount of disk space needs to be available
133+
# in the users home directory on Rackham.
134+
#
131135
> ./scripts/do_all.sh --pull --tag <VERSION>
132136

133137
# Send the containers to bianca using the same method
@@ -148,7 +152,7 @@ Wrote Sarek-[snapID].tar.gz
148152
# Copy the tar from wharf to the project
149153
> cp /castor/project/proj_nobackup/wharf/[USER]/[USER]-[PROJECT]/Sarek-[snapID].tgz /castor/project/proj_nobackup/Sarek
150154

151-
# extract Sarek
155+
# extract Sarek. Also remember to extract the containers you uploaded.
152156
> tar xvzf Sarek-[snapID].tgz
153157

154158
# If you want other people to use it

doc/TSV.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# TSV file for sample
22

3-
It's a Tab Separated Value file, based on: `subject gender status sample lane fastq1 fastq2` or `subject gender status sample bam bai` Quite straight-forward:
3+
Input files for Sarek can be specified using a tsv file given to the `--sample` parameter. The tsv file is a Tab Separated Value file with columns: `subject gender status sample lane fastq1 fastq2` or `subject gender status sample bam bai`.
4+
The content of these columns should be quite straight-forward:
45

56
- `subject` designate the subject, it should be the ID of the Patient, or if you don't have one, il could be the Normal ID Sample.
67
- `gender` is the gender of the Patient, (XX or XY)

0 commit comments

Comments
 (0)