Split fq files into primer specific fq files using flexbar. GATC or GTAC start each sequence. Generalized from marit-4c.
# clone this repo
git clone https://github.com/samesense/fq-splitter/
cd fq-splitter
# mk tmp dir
mkdir tmp
# stage example files
mkdir -p data/raw/fq_gz/
cp data/test/*fq.gz files to data/raw/fq_gz/
# adjust configs/mac_test_run.config
# enter docker container; mount your local path to external
# your local path is one dir above fq-splitter (ex. /your/local/path/fq-splitter/)
docker run -it -v /your/local/path/:/external/ \
--privileged=True --cap-add=SYS_ADMIN --detach-keys="ctrl-@" \
samesense/fq-splitter
conda activate split-fq
cd /external/fq-splitter/
# run pipeline
snakemake -s src/rules/Snakefile.py \
--use-singularity --singularity-args "-B /external:/external" \
--configfile configs/mac_test_run.config all
Content type
Image
Digest
Size
902.8 MB
Last updated
about 8 years ago
docker pull samesense/fq-splitter