jonahcullen / wags

GNU General Public License v3.0
15 stars 6 forks source link

Add the ability to process single-end reads #47

Closed kdimmler2 closed 2 weeks ago

kdimmler2 commented 1 month ago

These edits enable "prep_subs.py" to identify if a FASTQ is paired-end or single-end. If the FASTQ is single-end, the name of the R1 FASTQ file will be entered into the "fastq_2" column of "input.tsv". The "bam.smk" and "qc.smk" pipelines are then able to detect this and the files are processed as single-end in the "fastqs_to_ubam" rule and in the "fastqc" rule. This will allow for streamlined processing of single-end and paired-end FASTQs together without error.