Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inflexible bbduk trim make input script #1

Open
georgiesamaha opened this issue Jun 9, 2023 · 0 comments
Open

inflexible bbduk trim make input script #1

georgiesamaha opened this issue Jun 9, 2023 · 0 comments

Comments

@georgiesamaha
Copy link
Member

trim script expects a specific fastq naming convention that makes it incompatible with sequence data from Ramaciotti centre. To customise, will need to edit basename variable definition (see lines 80-83):

For example, to accept fqs ending in _R1/2_001.fastq.gz:

basename=$(basename "$fastq" | sed -E 's/_[R][12]_001\.fastq\.gz$//')
		paired_extension="${fastq#*.}"
		uniq_basename="${basename}"
		which_pair=$(basename "$fastq" | sed -E 's/^.*_([R][12])_001\.fastq\.gz$/\1/')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant