-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add mount docs * mount tmpdir in test * move env * how did tabs get in here!! * fix reference link (#214) * Update FTP links * Additional docs re: panel * -profile test + --run_ancestry = bad * fix trait parameter (#196) * fix reference link * update ref paths --------- Co-authored-by: smlmbrt <[email protected]> * bump workflow version * Bump pgscatalog utils (#219) * bump pgscatalog_utils * bump pgscatalog-utils --------- Co-authored-by: smlmbrt <[email protected]>
- Loading branch information
Showing
9 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
.. _mount: | ||
|
||
How do I mount non-standard directories in singularity? | ||
======================================================= | ||
|
||
In some situations you may get ``FileNotFound`` errors with the singularity profile even if the file definitely exists. | ||
|
||
If your sensitive genomic data are stored in a non-standard Linux directory, then containers may need extra configuration to mount the directory correctly | ||
|
||
This problem probably affects you if: | ||
|
||
- you can run the test profile OK on singularity | ||
- you get ``FileNotFound`` errors when working with your own data | ||
- you are certain the file path reported in the error does exist and is accessible to you | ||
|
||
Create a new nextflow configuration file `as described here`_: | ||
|
||
.. code-block:: text | ||
singularity { | ||
enabled = true | ||
autoMounts = true | ||
runOptions = '-B /path/to/genomes' | ||
} | ||
.. _`as described here`: https://github.com/PGScatalog/pgsc_calc/issues/158#issuecomment-1713783129 | ||
|
||
You will need to edit ``runOptions`` to match the path to your local directory containing sensitive data. | ||
|
||
And run the calculator with the extra parameter ``-c mount.config``. | ||
|
||
Another possible solution is to test your own data with the ``conda`` profile, which doesn't require extra configuration to work with non-standard directories. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ dependencies: | |
- python=3.10 | ||
- pip | ||
- pip: | ||
- pgscatalog_utils==0.4.2 | ||
- pgscatalog_utils==0.4.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters