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

Add option to DemuxFastqs to filter on the internal control flag in the header comment #714

Merged
merged 1 commit into from
Sep 27, 2021

Conversation

kstromhaug
Copy link

No description provided.

@kstromhaug kstromhaug requested review from nh13 and tfenne September 20, 2021 22:01
@@ -293,9 +293,13 @@ object DemuxFastqs {
|
|`--fastq-skip-read-numbers=true --fastq-include-sample-barcodes=true --illumina-file-names=true`
|
|To output reads with a passing filter flag, use:
|To output reads with a passing filter flag, as encoded in the <is filtered> field in the header comment, use:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding backticks, since the usage is parsed as markdown, which is really nice.

Suggested change
|To output reads with a passing filter flag, as encoded in the <is filtered> field in the header comment, use:
|To output reads with a passing filter flag, as encoded in the `<is filtered>` field in the header comment, use:

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I think you're mixing up PRs, as I think I asked for this in the other PR: #713 (comment)

src/main/scala/com/fulcrumgenomics/fastq/DemuxFastqs.scala Outdated Show resolved Hide resolved
src/main/scala/com/fulcrumgenomics/fastq/DemuxFastqs.scala Outdated Show resolved Hide resolved
src/main/scala/com/fulcrumgenomics/fastq/DemuxFastqs.scala Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Sep 21, 2021

Codecov Report

Merging #714 (8b797c7) into master (3d28a8b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 8b797c7 differs from pull request most recent head ca6afe0. Consider uploading reports for the commit ca6afe0 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##           master     #714   +/-   ##
=======================================
  Coverage   95.39%   95.39%           
=======================================
  Files         114      114           
  Lines        6601     6606    +5     
  Branches      457      440   -17     
=======================================
+ Hits         6297     6302    +5     
  Misses        304      304           
Flag Coverage Δ
unittests 95.39% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../scala/com/fulcrumgenomics/fastq/DemuxFastqs.scala 96.35% <100.00%> (+0.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3d28a8b...ca6afe0. Read the comment docs.

@nh13 nh13 mentioned this pull request Sep 22, 2021
@kstromhaug kstromhaug force-pushed the ks_control_filter branch 2 times, most recently from b49f7f6 to 4199efd Compare September 24, 2021 17:26
Copy link
Member

@nh13 nh13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor changes left!

Comment on lines 442 to 444
fastqStandards = this.fastqStandards,
skipFailingReads = this.skipFailingReads
skipFailingReads = this.skipFailingReads,
omitControlReads = this.omitControlReads
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

align equals

Comment on lines 453 to 458
sources = sources,
demultiplexer = demultiplexer,
threads = threads,
skipFailingReads = this.skipFailingReads,
omitControlReads = this.omitControlReads
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
sources = sources,
demultiplexer = demultiplexer,
threads = threads,
skipFailingReads = this.skipFailingReads,
omitControlReads = this.omitControlReads
)
sources = sources,
demultiplexer = demultiplexer,
threads = threads,
skipFailingReads = this.skipFailingReads,
omitControlReads = this.omitControlReads
)

src/main/scala/com/fulcrumgenomics/fastq/DemuxFastqs.scala Outdated Show resolved Hide resolved
Copy link
Member

@nh13 nh13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! LGTM

Copy link
Member

@tfenne tfenne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only concern is that I feel like we should pick one of skip or omit and use it in both options rather than mix and match.

@kstromhaug kstromhaug force-pushed the kari_filter_support branch 3 times, most recently from b2c5f42 to 42f6aa4 Compare September 24, 2021 22:40
Base automatically changed from kari_filter_support to master September 27, 2021 15:41
@kstromhaug kstromhaug merged commit efb058e into master Sep 27, 2021
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

Successfully merging this pull request may close these issues.

4 participants