@@ -91,6 +91,18 @@ cd DITTO
9191> Cheaha (UAB HPC) because of resource limitations to download datasets from OpenCRAVAT.
9292> Docker versions may need to be explored later to make it useable in Mac and Windows.
9393
94+ #### NextFlow Conda Vs. Mamba Setup
95+
96+ *** NOTE:*** If the user has conda running with Mamba instead of Conda, NextFlow can be configured to use Mamba instead
97+ by modifying the ` configs/nextflow/local.config ` file and updating the ** useMamba** parameter to reflect the user's
98+ environment:
99+
100+ ``` yaml
101+ # This parameter is defaulted to false, change to true if using Mamba
102+
103+ useMamba = true
104+ ```
105+
94106#### Setup Steps
95107
96108- *** Setup OpenCravat (only one-time installation)***
@@ -110,15 +122,26 @@ cd DITTO
110122
111123- *** Sample Sheet***
112124
113- Please make a samplesheet ` .test_data/file_list.txt ` with VCF files (incl. path).
125+ Please make a samplesheet ` .test_data/file_list.txt ` with VCF files (incl. path). One can supply either relative paths
126+ or absolute paths to files for the vcf.gz files. Relative paths need to be relative to the work directory that DITTO
127+ was executed from.
128+
129+ Example ` file_list.txt ` with relative paths:
130+
131+ ``` bash
132+ .test_data/oc_test_data.vcf.gz
133+ .test_data/testing_variants_hg38.vcf.gz
134+
135+ # Example, will become: /Users/<username>/Workspace/DITTO/.test_data/oc_test_data.vcf.gz
136+ ```
114137
115- Example ` file_list.txt ` :
138+ Or absolute paths
116139
117140 ``` bash
118- # Example is using MacOS home folder
141+ /Users/< username> /Desktop/test_data/oc_test_data.vcf.gz
142+ /Users/< username> /Desktop/test_data/testing_variants_hg38.vcf.gz
119143
120- /Users/< username> /Workspace/DITTO/.test_data/oc_test_data.vcf.gz
121- /Users/< username> /Workspace/DITTO/.test_data/testing_variants_hg38.vcf.gz
144+ # Example is using MacOS Desktop folder with test_data directory
122145 ```
123146
124147 This will run DITTO prediction for both vcf files in the ` file_list.txt ` .
@@ -148,13 +171,26 @@ To run on UAB cheaha, see the [installation](#installation) step to clone the DI
148171 from, ** note** the directory where the ` pipeline.nf ` file is)
149172- See the example input file [ .test_data/file_list.txt] ( .test_data/file_list.txt ) (lists 2 testing example input VCFs)
150173 for reference or as an input file for testing (default behavior of ` model.job ` )
174+ - One can supply either relative paths or absolute paths to files for the vcf.gz files. Relative paths need to be
175+ relative to the work directory that DITTO was executed from.
151176
152- Example input file content :
177+ Example ` file_list.txt ` with relative paths :
153178
154- ``` bash
155- /home/< username> /Workspace/DITTO/.test_data/oc_test_data.vcf.gz
156- /home/< username> /Workspace/DITTO/.test_data/testing_variants_hg38.vcf.gz
157- ```
179+ ``` bash
180+ .test_data/oc_test_data.vcf.gz
181+ .test_data/testing_variants_hg38.vcf.gz
182+
183+ # Example, will become: /home/<username>/Workspace/DITTO/.test_data/oc_test_data.vcf.gz
184+ ```
185+
186+ Or absolute paths
187+
188+ ``` bash
189+ /home/< username> /test_data/oc_test_data.vcf.gz
190+ /home/< username> /test_data/testing_variants_hg38.vcf.gz
191+
192+ # Example is using Linux home directory with a test_data directory
193+ ```
158194
159195- Update ` model.job ` (change the ` --sample_sheet ` option to your input file with VCF path(s) and
160196 ` --outdir ` to the desired output location of DITTO predictions)
0 commit comments