MarWoes / wg-blimp

wg-blimp: an end-to-end analysis pipeline for whole genome bisulfite sequencing data
GNU Affero General Public License v3.0
27 stars 12 forks source link

run pipeline for one sample #13

Closed icanwinwyz closed 2 years ago

icanwinwyz commented 3 years ago

Thanks for developing such great tool for WGBS data analysis.

It seems mandatory to include two groups of samples to invoke the pipeline. But what if I have only one sample, how can I run the pipeline? Thanks.

MarWoes commented 3 years ago

Hi, Thanks for reaching out!

wg-blimp was designed to primarily use grouping information for DMR calling. However, with some changes to its configuration it is possible to run the pipeline for one sample only.

If you use the command to create a configuration file as follows (adapted to the example in our tutorial): wg-blimp create-config --cores-per-job=4 fastq/ chr22.fasta blood1 blood1 results-from-config wg-blimp-config.yaml

This will create a configuration file with only your sample included. You can then edit the resulting yaml file as follows:

I think it might be possible to change wg-blimp's CLI interface to include this use case where DMR calling is not wanted and only one sample exist (or multiple samples without any group for segmentation only).

Don't hesitate to reach out again if this workaround did not resolve the issue.

Best, Marius

MarWoes commented 2 years ago

I'll close this issue due to inactivity. Feel free to re-open if necessary :)