Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
2e352bf
update
mrvollger Jul 31, 2024
98cc544
update
mrvollger Jul 31, 2024
d3449ea
update
mrvollger Jul 31, 2024
e748559
update
mrvollger Jul 31, 2024
f237c3a
ylines
mrvollger Aug 12, 2024
181eb91
bigtools
mrvollger Aug 14, 2024
eba5937
bigtools
mrvollger Aug 14, 2024
ff82819
bigtools
mrvollger Aug 14, 2024
5b54142
bigtools
mrvollger Aug 14, 2024
a31671d
bigtools
mrvollger Aug 14, 2024
52a0ed2
bigtools
mrvollger Aug 14, 2024
f4b8c61
bigtools
mrvollger Aug 14, 2024
95c23ef
bigtools
mrvollger Aug 14, 2024
474a843
bigtools
mrvollger Aug 14, 2024
b2cd5a2
bigtools
mrvollger Aug 14, 2024
e9db2a6
bigtools
mrvollger Aug 14, 2024
951be2b
bigtools
mrvollger Aug 14, 2024
2a3625e
bigtools
mrvollger Aug 14, 2024
24ee367
bigtools
mrvollger Aug 14, 2024
302abc9
bigtools
mrvollger Aug 15, 2024
c81bae8
bigtools
mrvollger Aug 15, 2024
b03cc80
trakchub updates
mrvollger Aug 19, 2024
f3c77db
ref full path
mrvollger Aug 19, 2024
9367a11
ref full path
mrvollger Aug 19, 2024
b2f0188
description
mrvollger Aug 19, 2024
6e43acc
description
mrvollger Aug 19, 2024
5d7595c
description
mrvollger Aug 19, 2024
7403054
description
mrvollger Aug 19, 2024
3de3d95
description
mrvollger Aug 19, 2024
a7bfe0d
description
mrvollger Aug 19, 2024
7c6d032
description
mrvollger Aug 19, 2024
d01c642
description
mrvollger Aug 19, 2024
b92ceac
description
mrvollger Aug 19, 2024
b689768
description
mrvollger Aug 19, 2024
28c0271
description
mrvollger Aug 19, 2024
ec30dbd
empty file check
mrvollger Aug 21, 2024
c05680f
Add ft qc
mrvollger Sep 9, 2024
e52e1e3
Add ft qc
mrvollger Sep 10, 2024
a742a20
Add ft qc
mrvollger Sep 10, 2024
0489f86
Add ft qc
mrvollger Sep 10, 2024
3bdf4d1
Add ft qc
mrvollger Sep 10, 2024
e30cc5c
Add ft qc
mrvollger Sep 11, 2024
b489bc1
refactor to use ft pileup and replace zcat with bgzip
mrvollger Sep 13, 2024
95ea662
drop qual from cram to half the size of file
mrvollger Sep 13, 2024
5b4aeee
add sup filter by default, used to be within ft
mrvollger Sep 13, 2024
13830a0
add sup filter by default, used to be within ft
mrvollger Sep 14, 2024
1ec93cc
Major refactor to prepare for DSA
mrvollger Sep 20, 2024
383c7fc
Major refactor to prepare for DSA
mrvollger Sep 20, 2024
1275d73
Major refactor to prepare for DSA
mrvollger Sep 20, 2024
aee3cff
ruff check
mrvollger Sep 22, 2024
2c389a6
fmt
mrvollger Sep 29, 2024
cad8e7a
fmt
mrvollger Sep 29, 2024
61008bc
fmt
mrvollger Sep 29, 2024
e9d847c
fmt
mrvollger Sep 29, 2024
283f15e
fmt
mrvollger Sep 29, 2024
dc0bb20
fmt
mrvollger Sep 29, 2024
36fa569
fmt
mrvollger Sep 29, 2024
1186bd8
fmt
mrvollger Sep 29, 2024
193b2c1
fmt
mrvollger Sep 29, 2024
86c7de2
fmt
mrvollger Sep 30, 2024
13f6940
fmt
mrvollger Sep 30, 2024
c02b0ae
fmt
mrvollger Sep 30, 2024
bf1671f
more consistent formating
mrvollger Sep 30, 2024
5c2b206
more consistent formating
mrvollger Sep 30, 2024
adba0c5
more consistent formating
mrvollger Sep 30, 2024
7244ba3
more consistent formating
mrvollger Sep 30, 2024
9de3ff6
more consistent formating
mrvollger Sep 30, 2024
3a1ae66
more consistent formating
mrvollger Sep 30, 2024
a2a9ce6
more consistent formating
mrvollger Sep 30, 2024
f8adcef
more consistent formating
mrvollger Sep 30, 2024
991c4d1
more consistent formating
mrvollger Sep 30, 2024
e6bc9f2
more consistent formating
mrvollger Sep 30, 2024
988dec1
more consistent formating
mrvollger Sep 30, 2024
bb24076
more consistent formating
mrvollger Sep 30, 2024
e726723
more consistent formating
mrvollger Oct 1, 2024
89c9893
more name changes
mrvollger Oct 9, 2024
806ab3a
more name changes
mrvollger Oct 9, 2024
ed89b16
more name changes
mrvollger Oct 9, 2024
dc5130f
more name changes
mrvollger Oct 10, 2024
e53d299
more name changes
mrvollger Oct 10, 2024
c92b426
more name changes
mrvollger Oct 10, 2024
47b0ab3
more name changes
mrvollger Oct 10, 2024
b1bd08b
more name changes
mrvollger Oct 10, 2024
3ef814f
more name changes
mrvollger Oct 10, 2024
7e7133b
more name changes
mrvollger Oct 10, 2024
e5185ff
more name changes
mrvollger Oct 10, 2024
aa4b709
more name changes
mrvollger Oct 10, 2024
a71472b
more name changes
mrvollger Oct 10, 2024
eefdb33
place conda env first
mrvollger Oct 12, 2024
ba094e0
test runner
mrvollger Oct 12, 2024
8671b5d
test runner
mrvollger Oct 12, 2024
f4b5602
Merge branch 'main' into v0.0.8
mrvollger Oct 12, 2024
d05eb3f
test runner
mrvollger Oct 12, 2024
3cf8dd3
test runner
mrvollger Oct 12, 2024
2b57c36
test runner
mrvollger Oct 12, 2024
2bc0fc8
test runner
mrvollger Oct 12, 2024
9280204
test runner
mrvollger Oct 12, 2024
ac7e766
test runner
mrvollger Oct 12, 2024
d8fcba4
test runner
mrvollger Oct 13, 2024
8365849
remove runner
mrvollger Oct 13, 2024
b9ef1f1
Merge branch 'main' into v0.0.8
mrvollger Oct 13, 2024
dbb7852
remove runner
mrvollger Oct 13, 2024
2e9422a
ft update
Nov 14, 2024
1a495b1
switch back to bigtools and upgrade versions
Nov 18, 2024
ca3691f
Add pixi files to help inital install
Nov 18, 2024
801c2d8
switch back to bigtools and upgrade versions
Nov 18, 2024
54e0d92
add a test task to pixi file
Nov 21, 2024
651ea10
add some pixi install instructions
Nov 22, 2024
7a03409
add some pixi install instructions
Nov 22, 2024
15b68fb
add some pixi install instructions
Nov 22, 2024
0368104
format
Nov 22, 2024
a313b31
format
Nov 22, 2024
359681b
format
Nov 22, 2024
1b056b9
format
Nov 22, 2024
3df9a3b
format
Nov 22, 2024
2dbbf3b
format
Nov 22, 2024
5babca4
actions
Nov 22, 2024
78f125d
Merge branch 'main' into v0.0.8
mrvollger Nov 22, 2024
81e6d9b
actions
Nov 22, 2024
d9fd79a
actions
Nov 22, 2024
188a591
docs
Nov 22, 2024
befa347
docs
Nov 23, 2024
63b2dd3
add pixi version to outputs
Nov 23, 2024
a12d1ab
add pixi version to outputs
Nov 23, 2024
b68e020
add pixi version to outputs
Nov 23, 2024
b3284c4
add pixi version to outputs
Nov 25, 2024
eadfa4f
add pixi version to outputs
Nov 26, 2024
41e944c
gmt
Nov 26, 2024
ac184e3
gmt
Nov 26, 2024
174aea8
gmt
Nov 26, 2024
73a1b36
gmt
Nov 26, 2024
17ee205
fmt
Nov 26, 2024
05e45e7
fmt
Nov 27, 2024
1c2e964
fmt
Nov 27, 2024
db7f92f
fmt
Nov 27, 2024
5342a7e
fmt
Nov 27, 2024
45a8bf8
fmt
Nov 27, 2024
b33b44e
fmt
Nov 27, 2024
bb8edba
fmt
Nov 27, 2024
6087cba
fmt
Nov 27, 2024
74c3b4f
adj threads
Dec 3, 2024
e4e00e6
bigtools v
Dec 8, 2024
c3d8e1f
Merge branch 'main' into v0.0.8
mrvollger Dec 10, 2024
83ba801
Simplify application of ft fire
Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 11 additions & 46 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,19 @@
name: Tests
name: CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]

branches: [main]

jobs:
Formatting:
# pixi test
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Formatting
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_SNAKEMAKE_SNAKEFMT: true

Linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint workflow
uses: snakemake/snakemake-github-action@v1.24.0
with:
directory: .
snakefile: workflow/Snakefile
args: "--lint"

Testing:
runs-on: ubuntu-latest
needs:
- Linting
- Formatting
steps:
- uses: actions/checkout@v2

- name: Test workflow
uses: snakemake/snakemake-github-action@v1.24.0
with:
directory: .test
snakefile: workflow/Snakefile
args: "--use-conda --show-failed-logs --cores 3 --conda-cleanup-pkgs cache --all-temp --configfile config.yml"

# - name: Test report
# uses: snakemake/snakemake-github-action@v1.24.0
# with:
# directory: .test
# snakefile: workflow/Snakefile
# args: "--report report.zip"
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: v0.37.0
cache: true
- run: pixi run test
17 changes: 0 additions & 17 deletions .github/workflows/release-please.yml

This file was deleted.

7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ figures/
old/
phasing/
run_scripts/
trackHub/
trackHub-{v}/
trackHub_altius/
XCI/
altius/
Expand All @@ -158,7 +158,6 @@ config/**
.vscode/*
.DS_Store


# stats
Rdata/
Rplots.pdf
Expand All @@ -177,4 +176,6 @@ misc/
new-agg-test/
scATAC/
test/

test-data/
bigtools-test/
fire-test-data/
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# v0.1.0

First major release of the FIRE pipeline. This release includes a refactor to reduce the computation by increased use of ft, changes to the output file names to include the fire version among other things, and finally a new launching method for the pipeline that uses pixi. Results are very similar to v0.0.7 of the pipeline; however, there are minor differences in the peak calls and the output names.
11 changes: 5 additions & 6 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# Install

You will need **snakemake** which you can install using conda/mamba, e.g.:
```
mamba create -c conda-forge -c bioconda -n snakemake 'snakemake>=8.4'
```
If you wish to distribute jobs across a cluster you will need to install the appropriate [snakemake executor plugin](https://snakemake.github.io/snakemake-plugin-catalog/). For example, to use SLURM you can install the `snakemake-executor-slurm` plugin using pip:

Finally, if you wish to distribute jobs across a cluster you will need to install the appropriate [snakemake executor plugin](https://snakemake.github.io/snakemake-plugin-catalog/). For example, to use SLURM you can install the `snakemake-executor-slurm` plugin using pip:
```
```
pixi shell
pip install snakemake-executor-plugin-slurm
```

We recommend adding a snakemake conda prefix to your `bashrc`, e.g. in the Stergachis lab add:

```bash
export SNAKEMAKE_CONDA_PREFIX=/mmfs1/gscratch/stergachislab/snakemake-conda-envs
export APPTAINER_CACHEDIR=/mmfs1/gscratch/stergachislab/snakemake-conda-envs/apptainer-cache
```

Then snakemake installs all the additional requirements as conda envs in that directory.
45 changes: 4 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,10 @@
# 🔥 **FIRE**: <ins>F</ins>iber-seq <ins>I</ins>nferred <ins>R</ins>egulatory <ins>E</ins>lements

[![DOI](https://zenodo.org/badge/561430995.svg)](https://zenodo.org/doi/10.5281/zenodo.10023811)
[![Actions Status](https://github.com/fiberseq/FIRE/workflows/CI/badge.svg)](https://github.com/mrvollger/FIRE/actions)

A Snakemake workflow for calling Fiber-seq Inferred Regulatory Elements (FIREs) on single molecules. For a more detailed description and methods see the [docs](/docs/README.md), or [watch](https://youtu.be/RiZrMltAiWM?si=sSo64goaNQxgyfcc) my lab meeting on FIRE.
A Snakemake workflow for calling Fiber-seq Inferred Regulatory Elements (FIREs) on single molecules.

## Install
## Installation and Usage

Please install `snakemake` and all the UCSC Kent utilities. For detailed instructions see the [installation README](/INSTALL.md).

## Configuring

See the [configuration README](/config/README.md), the example [configuration file](/config/config.yaml), and the example [manifest file](/config/config.tbl) for configuration options.


## Run

We have a run script that executes the FIRE snakemake called `fire`, and any extra parameters are passed directly to snakemake. For example:

```bash
./fire --configfile config/config.yaml
```

If you want to do a dry run:

```bash
./fire --configfile config/config.yaml -n
```

If you want to execute across a cluster (modify `profiles/slurm-executor` as needed for distributed execution):

```bash
./fire --configfile config/config.yaml --profile profiles/slurm-executor
```

You can also run snakemake directly, e.g.:

```bash
snakemake \
--configfile config/config.yaml \
--profile profiles/slurm-executor \
--local-cores 8 -k
```

## Test data

You can find input data to test against at [this url](https://s3-us-west-2.amazonaws.com/stergachis-public1/index.html?prefix=FIRE/test-data/).
See the [docs](https://fiberseq.github.io/fire/run.html) for detailed installation and usage instructions.
20 changes: 0 additions & 20 deletions _config.yml

This file was deleted.

5 changes: 5 additions & 0 deletions config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ manifest: config/config.tbl


## Optional input options
Specify that the input BAM file is an ONT Fiber-seq file. Default is `False`.
```
ont: True
```

Max number of threads to use in very distributed steps:
```
max_t: 4
Expand Down
47 changes: 0 additions & 47 deletions fire

This file was deleted.

Loading
Loading