Skip to content

Commit

Permalink
quick update
Browse files Browse the repository at this point in the history
  • Loading branch information
y9c committed Dec 27, 2023
1 parent 359a890 commit e945bb5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
- name: Build and push docker
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
Expand Down
4 changes: 2 additions & 2 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,9 @@ rule reverse_reads:
path_rcFastq=config["path"]["rcFastq"],
run:
if SAMPLE2STRAND[wildcards.sample]:
shell("{params.path_rcFastq} {input} {output}")
else:
shell("cp {input} {output}")
else:
shell("{params.path_rcFastq} {input} {output}")


rule build_bowtie2_index:
Expand Down
11 changes: 11 additions & 0 deletions docs/Quick-Start.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ nav_order: 2

{: .note }

> How to run apptainer on computation nodes without internet acess?
>
> 1. (On the login node with internet connection) Run `module load apptainer` to mount the apptainer utils, if it is not installed by default.
>
> 2. (On the login node with internet connection) Build th `bidseq_latest.sif` file by command `apptainer pull docker://y9ch/bidseq`.
>
> 3. (On the computation node) Run `apptainer run bidseq_lastest.sif -c data.yaml` to start the pipeline.
> Note that most HPC mount the direcotries in a complicated manor, so you need to find out the real path by running `realpath ./` and specific the output into `apptainer` by `apptainer run -B /the/real/path ...`

{: .note }

> If your configure file is not named as `data.yaml`, add `-c your_file_name.yaml` arg after the command to customize.

3. **View the analytics reports and filtered sites.**
Expand Down

0 comments on commit e945bb5

Please sign in to comment.