Fetches workflow and config files from a Snakemake repository on GitHub
Project description
snakefetch
A tool to fetch workflow and config files from a Snakemake repository on GitHub
Although snakedeploy can be used to prepare Snakemake workflows, this does not always work.
snakefetch is basically a simpler version of snakedeploy that will copy the config and workflow directories of any Snakemake workflow on github into any directory.
Installation
snakefetch can be installed via pip:
$ pip install snakefetch
Usage
Help message
$ snakefetch --help
usage: snakefetch [-h] [--outdir OUTDIR] --url URL --repo-version REPOVERSION [--target-dirs TARGETDIRS] [--version]
Fetch config and workflow directories from a versioned Snakemake repository on GitHub
options:
-h, --help show this help message and exit
--outdir OUTDIR, -o OUTDIR
Directory to save the files to
--url URL, -u URL URL of the Snakemake repository on GitHub
--repo-version REPOVERSION, -v REPOVERSION
Release version of the Snakemake repository on GitHub
--target-dirs TARGETDIRS, -t TARGETDIRS
Directories to fetch from the Snakemake repository on GitHub (default: config,workflow)
--version Print snakefetch version and exit
snakefetch version:
$ snakefetch --version
snakefetch version 0.5.0
Fetching files from Snakemake workflow
$ snakefetch -o /home/niek/TEST -v v0.4.0 -u https://github.com/niekwit/damid-seq
Downloading archive file for version v0.4.0 from https://github.com/niekwit/damid-seq...
Extracting config and workflow directories from tar.gz file to /home/niek/Downloads/TEST...
Done!
$ cd /home/niek/TEST
$ tree
.
├── config
│ ├── config.yaml
│ ├── README.md
│ └── samples.csv
└── workflow
├── envs
│ ├── damid.yaml
│ ├── deeptools.yaml
│ ├── peak_calling.yaml
│ ├── R.yaml
│ └── trim.yaml
├── report
│ ├── annotated_peaks.rst
│ ├── correlation.rst
│ ├── distance_to_tss.rst
│ ├── feature_distributions.rst
│ ├── heatmap.rst
│ ├── mapping_rates.rst
│ ├── pca.rst
│ ├── profile_plot.rst
│ ├── scree.rst
│ └── workflow.rst
├── rules
│ ├── bedgraph_processing.smk
│ ├── bed.smk
│ ├── damid.smk
│ ├── deeptools.smk
│ ├── fastqc.smk
│ ├── motifs.smk
│ ├── peak_calling.smk
│ ├── plotting.smk
│ ├── resources.smk
│ └── trimming.smk
├── schemas
│ └── config.schema.yaml
├── scripts
│ ├── annotate_peaks.R
│ ├── average_bigwig.py
│ ├── average_wig.py
│ ├── bowtie2_align_to_plasmid.py
│ ├── convert_bed2fasta.py
│ ├── create_annotation_file.R
│ ├── create_background_fasta.py
│ ├── create_blacklist.py
│ ├── damidseq_pipeline.py
│ ├── filter_overlapping_peaks.py
│ ├── general_functions.smk
│ ├── get_resource.sh
│ ├── mask_fasta.py
│ ├── peak_annotation_plots.R
│ ├── plot_mapping_rates.R
│ ├── plot_PCA.R
│ ├── quantile_norm_bedgraph.py
│ ├── resources.py
│ ├── reverse_log2.py
│ ├── run_find_peaks.py
│ └── trim_galore.py
└── Snakefile
7 directories, 51 files
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file snakefetch-0.5.1.tar.gz.
File metadata
- Download URL: snakefetch-0.5.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b9c38a8a8342cd64de887fc37f87760f8929a8d63fd3bdc6167091f2388157d
|
|
| MD5 |
3076f1308dc1196bdc6a808adeb9ca8f
|
|
| BLAKE2b-256 |
d7da41bda1d71212197028a7f923b25d8a417777bdc13fe6fd3377475b526685
|
File details
Details for the file snakefetch-0.5.1-py3-none-any.whl.
File metadata
- Download URL: snakefetch-0.5.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9462d40619ab5b5ab567da831269f66bf07c821ba2e124dae847208d2c8346d0
|
|
| MD5 |
63ac97893dc7632999fec7587c7e5227
|
|
| BLAKE2b-256 |
7ee8568f9b61351ef929f806def56138dff292307a446266f858037dba49fd77
|