-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sfitz add fastqc and switch to process_afterscript for logs #60
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sorelfitzgibbon
commented
Jun 5, 2024
module/fastqc.nf
Outdated
Comment on lines
26
to
35
output_filename = generate_standard_filename("FastQC-${params.fastqc_version}", | ||
params.dataset_id, | ||
id, | ||
[:]) | ||
|
||
""" | ||
set -euo pipefail | ||
mkdir "${output_filename}" | ||
fastqc \ | ||
--outdir "${output_filename}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- In this case I used
generate_standard_filename
to create an additional output directory with thedataset_id
and theid
extracted from the input BAM files. - An alternate possibility is to output to "./" and then rename the files within
${bam_prefix}_fastqc
(i.e. the FastQC directory that is always created) to include the standard_filename components.
After discussion with @yashpatel6 I will look into methods to get output separated by read-group. |
sorelfitzgibbon
changed the title
Sfitz add fastqc
Sfitz add fastqc and switch to process_afterscript for logs
Jun 12, 2024
sorelfitzgibbon
force-pushed
the
sfitz-add-fastqc
branch
from
June 12, 2024 19:41
5f6f557
to
40e97e2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
FastQC
workflowNFTest
forFastQC
process_afterscript
including for publication of logs.Closes #45
Testing Results
output:
/hot/software/pipeline/pipeline-generate-SQC-BAM/Nextflow/development/unreleased/sfitz-add-fastqc
nftest a_mini-all-tools
log:
/hot/software/pipeline/pipeline-generate-SQC-BAM/Nextflow/development/unreleased/sfitz-add-fastqc/log-nftest-20240605T214738Z.log
nftest a_mini-all-tools-multiple-samples
log:
/hot/software/pipeline/pipeline-generate-SQC-BAM/Nextflow/development/unreleased/sfitz-add-fastqc/log-nftest-20240605T221709Z.log
nftest a_mini-fastqc
log:
/hot/software/pipeline/pipeline-generate-SQC-BAM/Nextflow/development/unreleased/sfitz-add-fastqc/log-nftest-20240605T222627Z.log
Checklist
I have read the code review guidelines and the code review best practice on GitHub check-list.
I have reviewed the Nextflow pipeline standards.
The name of the branch is meaningful and well formatted following the standards, using [AD_username (or 5 letters of AD if AD is too long)]-[brief_description_of_branch].
I have set up or verified the branch protection rule following the github standards before opening this pull request.
I have added my name to the contributors listings in the
manifest
block in thenextflow.config
as part of this pull request, am listedalready, or do not wish to be listed. (This acknowledgement is optional.)
I have added the changes included in this pull request to the
CHANGELOG.md
under the next release version or unreleased, and updated the date.I have updated the version number in the
metadata.yaml
andmanifest
block of thenextflow.config
file following semver, or the version number has already been updated. (Leave it unchecked if you are unsure about new version number and discuss it with the infrastructure team in this PR.)I have tested the pipeline using NFTest, or I have justified why I did not need to run NFTest above.