diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..b015f06 --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +
crispin --citation
. (#32, @kelly-sovacool)This is the first release of CRISPIN 🎉
mageck count
only runs if a count table isn't given.mageck mle
only runs if a design matrix is given.crispin init
to initialize a project directory.crispin run
--mode slurm
to submit a slurm job to biowulf or frce.--main path/to/main.nf
to select a different local install of crispin, or specify the repo (CCBR/CRISPIN
) to get it from GitHub.TODO -- describe gitflow, require PRs...
Pre-commit can automatically format your code, check for spelling errors, etc. every time you commit.
Install pre-commit if you haven't already, then run pre-commit install
to install the hooks specified in .pre-commit-config.yaml
. Pre-commit will run the hooks every time you commit.
Increment the version number following semantic versioning1 in the VERSION
file.
Keep the changelog up to date with all notable changes in CHANGELOG.md
2.
If you use VS code, installing nf-core extension pack is recommended.
For testing and debugging, We recommend installing the dev version of crispin to a user-specific location.
git clone https://github.com/CCBR/CRISPIN
+mkdir -p ~/bin/crispin
+pip install ./CRISPIN -t ~/bin/crispin
+export PATH="$HOME/bin/crispin/bin:$PATH"
+
semantic versioning guidelines https://semver.org/ ↩
changelog guidelines: https://keepachangelog.com/en/1.1.0/ ↩
TODO intro paragraph
CRISPIN is installed on the Biowulf and FRCE clusters as part of the ccbrpipeliner
module. If you'd like to run the pipeline in a different execution environment, take a look at how to run the nextflow pipeline directly.
TODO
Copy the configuration files to your current working directory
crispin init
+
TODO preview, stub, mode=slurm
TODO required params
Run preview to view processes that will run:
crispin run -profile test -preview
+
Launch a stub run to view processes that will run and download containers:
crispin run -profile test,singularity -stub
+
Run the test dataset using the test profile:
crispin run -profile test,singularity
+
or explicitly specify the output directory and input:
crispin run -profile singularity --outdir results/test --input assets/samplesheet_test.csv
+
TODO different required params
Create and use a custom reference genome:
crispin run -profile test -entry MAKE_REFERENCE
+crispin run -profile test -c results/test/genome/custom_genome.config
+
**C**rispr sc**R**een seq**U**encIng analy**S**is pip**E**line
🚧 This project is under active development. It is not yet ready for production use. 🚧
Cruise is installed on the Biowulf HPC. For installation in other execution environments, refer to the docs.
Cruise is available on Biowulf in the ccbrpipeliner
module. You'll first need to start an interactive session and create a directory from where you'll run crispin.
# start an interactive node
+sinteractive --mem=2g --cpus-per-task=2 --gres=lscratch:200
+# make a working directory for your project and go to it
+mkdir -p /data/$USER/crisprseq
+cd /data/$USER/crisprseq
+# load the ccbrpipeliener module
+module load ccbrpipeliner
+
Initialize and run crispin with test data:
# copy the crispin config files to your current directory
+crispin init
+# preview the crispin jobs that will run with the test dataset
+crispin run --mode local -profile test -preview
+# launch a crispin run on slurm with the test dataset
+crispin run --mode slurm -profile test,biowulf
+
To run crispin on your own data, you'll need to create a sample sheet. Take a look at the example: assets/samplesheet_test_biowulf.csv.
You'll also need to select an appropriate library for your dataset. CRISPIN is bundled with several libraries in assets/lib, or you can download your own. Once you've created a samplesheet with paths to your fastq files, run crispin with the --input
option to specify the path to your sample sheet and --library
for the path to your library file:
crispin run --mode slurm -profile biowulf --input samplesheet.csv --library assets/lib/yusa_library.csv
+
Come across a bug? Open an issue and include a minimal reproducible example.
Have a question? Ask it in discussions.
Want to contribute to this project? Check out the contributing guidelines.
This repo was originally generated from the CCBR Nextflow Template. The template takes inspiration from nektool1 and the nf-core template. If you plan to contribute your pipeline to nf-core, don't use this template -- instead follow nf-core's instructions2.
Information on who the pipeline was developed for, and a statement if it's only been tested on Biowulf. For example:
It has been developed and tested solely on NIH HPC Biowulf.
Also include a workflow image to summarize the pipeline.
instructions for nf-core pipelines https://nf-co.re/docs/contributing/tutorials/creating_with_nf_core ↩
You can run the nextflow pipeline directly by specifying this GitHub repo. You will need nextflow and either singularity or docker installed. In this case you don't need to run crispin init
first, as the config files will be accessed directly from the GitHub repo.
nextflow run CCBR/CRISPIN -profile test,singularity
+
You can specify a specific version, tag, or branch with -r
:
nextflow run CCBR/CRISPIN -r v1.0.0 -profile test,singularity
+
Create and use a custom reference genome:
nextflow run CCBR/CRISPIN -profile test -entry MAKE_REFERENCE
+nextflow run CCBR/CRISPIN -profile test -c results/test/genome/custom_genome.config
+
Install the development version of crispin.
# activate the conda env for development
+. "/data/CCBR_Pipeliner/db/PipeDB/Conda/etc/profile.d/conda.sh"
+conda activate py311
+
+# go to the source on biowulf and update
+cd /data/CCBR_Pipeliner/Pipelines/CRISPIN/crispin-dev
+git pull
+# optionally switch to different branch if needed
+
+# install the version to a hidden path (e.g. .v0.1.0, .v1.0.0.9000) in /data/CCBR_Pipeliner/Pipelines/CRISPIN
+cd ..
+pip install ./crispin-dev -t ./.v0.1.0
+# add it to your PATH and PYTHONPATH with:
+export PATH="$PATH:/data/CCBR_Pipeliner/Pipelines/CRISPIN/.v0.1.0/bin/"
+export PYTHONPATH="$PYTHONPATH:/data/CCBR_Pipeliner/Pipelines/CRISPIN/.v0.1.0/"
+
Create a lua file in /data/CCBR_Pipeliner/modules/ccbrpipeliner
, e.g. dev.lua
. You can copy the most recent lua file to use as a base, then modify the following line:
source_sh("bash", "/data/CCBR_Pipeliner/Pipelines/CRISPIN/crispin-dev/bin/install.sh .v0.1.0")
+
Change the version of CRISPIN as needed. Notice the dot (.
) in front of the version number to indicate a hidden path.
Then use and load the module (substitute dev
for whatever you named the new lua file) with:
module use /data/CCBR_Pipeliner/modules
+module load ccbrpipeliner/dev
+
**C**rispr sc**R**een seq**U**encIng analy**S**is pip**E**line
\ud83d\udea7 This project is under active development. It is not yet ready for production use. \ud83d\udea7
"},{"location":"#set-up","title":"Set up","text":"Cruise is installed on the Biowulf HPC. For installation in other execution environments, refer to the docs.
"},{"location":"#biowulf","title":"Biowulf","text":"Cruise is available on Biowulf in the ccbrpipeliner
module. You'll first need to start an interactive session and create a directory from where you'll run crispin.
# start an interactive node\nsinteractive --mem=2g --cpus-per-task=2 --gres=lscratch:200\n# make a working directory for your project and go to it\nmkdir -p /data/$USER/crisprseq\ncd /data/$USER/crisprseq\n# load the ccbrpipeliener module\nmodule load ccbrpipeliner\n
"},{"location":"#usage","title":"Usage","text":"Initialize and run crispin with test data:
# copy the crispin config files to your current directory\ncrispin init\n# preview the crispin jobs that will run with the test dataset\ncrispin run --mode local -profile test -preview\n# launch a crispin run on slurm with the test dataset\ncrispin run --mode slurm -profile test,biowulf\n
To run crispin on your own data, you'll need to create a sample sheet. Take a look at the example: assets/samplesheet_test_biowulf.csv.
You'll also need to select an appropriate library for your dataset. CRISPIN is bundled with several libraries in assets/lib, or you can download your own. Once you've created a samplesheet with paths to your fastq files, run crispin with the --input
option to specify the path to your sample sheet and --library
for the path to your library file:
crispin run --mode slurm -profile biowulf --input samplesheet.csv --library assets/lib/yusa_library.csv\n
"},{"location":"#help-contributing","title":"Help & Contributing","text":"Come across a bug? Open an issue and include a minimal reproducible example.
Have a question? Ask it in discussions.
Want to contribute to this project? Check out the contributing guidelines.
"},{"location":"#references","title":"References","text":"This repo was originally generated from the CCBR Nextflow Template. The template takes inspiration from nektool1 and the nf-core template. If you plan to contribute your pipeline to nf-core, don't use this template -- instead follow nf-core's instructions2.
Information on who the pipeline was developed for, and a statement if it's only been tested on Biowulf. For example:
It has been developed and tested solely on NIH HPC Biowulf.
Also include a workflow image to summarize the pipeline.
nektool https://github.com/beardymcjohnface/nektool \u21a9
instructions for nf-core pipelines https://nf-co.re/docs/contributing/tutorials/creating_with_nf_core \u21a9
crispin --citation
. (#32, @kelly-sovacool)This is the first release of CRISPIN \ud83c\udf89
"},{"location":"changelog/#new-features","title":"New features","text":"mageck count
only runs if a count table isn't given.mageck mle
only runs if a design matrix is given.crispin init
to initialize a project directory.crispin run
--mode slurm
to submit a slurm job to biowulf or frce.--main path/to/main.nf
to select a different local install of crispin, or specify the repo (CCBR/CRISPIN
) to get it from GitHub.TODO -- describe gitflow, require PRs...
"},{"location":"contributing/#use-pre-commit-hooks","title":"Use pre-commit hooks","text":"Pre-commit can automatically format your code, check for spelling errors, etc. every time you commit.
Install pre-commit if you haven't already, then run pre-commit install
to install the hooks specified in .pre-commit-config.yaml
. Pre-commit will run the hooks every time you commit.
Increment the version number following semantic versioning1 in the VERSION
file.
Keep the changelog up to date with all notable changes in CHANGELOG.md
2.
If you use VS code, installing nf-core extension pack is recommended.
"},{"location":"contributing/#installation","title":"Installation","text":"For testing and debugging, We recommend installing the dev version of crispin to a user-specific location.
git clone https://github.com/CCBR/CRISPIN\nmkdir -p ~/bin/crispin\npip install ./CRISPIN -t ~/bin/crispin\nexport PATH=\"$HOME/bin/crispin/bin:$PATH\"\n
semantic versioning guidelines https://semver.org/ \u21a9
changelog guidelines: https://keepachangelog.com/en/1.1.0/ \u21a9
TODO intro paragraph
"},{"location":"getting-started/#installation","title":"Installation","text":"CRISPIN is installed on the Biowulf and FRCE clusters as part of the ccbrpipeliner
module. If you'd like to run the pipeline in a different execution environment, take a look at how to run the nextflow pipeline directly.
TODO
"},{"location":"getting-started/#initialize","title":"Initialize","text":"Copy the configuration files to your current working directory
crispin init\n
"},{"location":"getting-started/#run","title":"Run","text":"TODO preview, stub, mode=slurm
TODO required params
Run preview to view processes that will run:
crispin run -profile test -preview\n
Launch a stub run to view processes that will run and download containers:
crispin run -profile test,singularity -stub\n
Run the test dataset using the test profile:
crispin run -profile test,singularity\n
or explicitly specify the output directory and input:
crispin run -profile singularity --outdir results/test --input assets/samplesheet_test.csv\n
"},{"location":"getting-started/#custom-reference-genome","title":"Custom reference genome","text":"TODO different required params
Create and use a custom reference genome:
crispin run -profile test -entry MAKE_REFERENCE\ncrispin run -profile test -c results/test/genome/custom_genome.config\n
"},{"location":"nextflow/","title":"nextflow pipeline","text":"You can run the nextflow pipeline directly by specifying this GitHub repo. You will need nextflow and either singularity or docker installed. In this case you don't need to run crispin init
first, as the config files will be accessed directly from the GitHub repo.
nextflow run CCBR/CRISPIN -profile test,singularity\n
You can specify a specific version, tag, or branch with -r
:
nextflow run CCBR/CRISPIN -r v1.0.0 -profile test,singularity\n
Create and use a custom reference genome:
nextflow run CCBR/CRISPIN -profile test -entry MAKE_REFERENCE\nnextflow run CCBR/CRISPIN -profile test -c results/test/genome/custom_genome.config\n
"},{"location":"release-guide/","title":"Release Guide","text":""},{"location":"release-guide/#how-to-test-a-pre-release-on-biowulf","title":"How to test a pre-release on biowulf","text":"Install the development version of crispin.
# activate the conda env for development\n. \"/data/CCBR_Pipeliner/db/PipeDB/Conda/etc/profile.d/conda.sh\"\nconda activate py311\n\n# go to the source on biowulf and update\ncd /data/CCBR_Pipeliner/Pipelines/CRISPIN/crispin-dev\ngit pull\n# optionally switch to different branch if needed\n\n# install the version to a hidden path (e.g. .v0.1.0, .v1.0.0.9000) in /data/CCBR_Pipeliner/Pipelines/CRISPIN\ncd ..\npip install ./crispin-dev -t ./.v0.1.0\n# add it to your PATH and PYTHONPATH with:\nexport PATH=\"$PATH:/data/CCBR_Pipeliner/Pipelines/CRISPIN/.v0.1.0/bin/\"\nexport PYTHONPATH=\"$PYTHONPATH:/data/CCBR_Pipeliner/Pipelines/CRISPIN/.v0.1.0/\"\n
"},{"location":"release-guide/#add-crispin-to-the-ccbrpipeliner-module-on-biowulf","title":"Add CRISPIN to the ccbrpipeliner module on biowulf","text":"Create a lua file in /data/CCBR_Pipeliner/modules/ccbrpipeliner
, e.g. dev.lua
. You can copy the most recent lua file to use as a base, then modify the following line:
source_sh(\"bash\", \"/data/CCBR_Pipeliner/Pipelines/CRISPIN/crispin-dev/bin/install.sh .v0.1.0\")\n
Change the version of CRISPIN as needed. Notice the dot (.
) in front of the version number to indicate a hidden path.
Then use and load the module (substitute dev
for whatever you named the new lua file) with:
module use /data/CCBR_Pipeliner/modules\nmodule load ccbrpipeliner/dev\n
"}]}
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
new file mode 100644
index 0000000..0f8724e
--- /dev/null
+++ b/sitemap.xml
@@ -0,0 +1,3 @@
+
+