Skip to content

Commit 82d5a6b

Browse files
committed
Remove filter in samtools coverage
1 parent 6f12f08 commit 82d5a6b

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

assets/pipeline/meta.tsv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
id RG ReadsRaw ReadsFiltered ReadsLengthfiltered SpeciesKmers KmerCoverage KmerDupRate ExtractLVL ReadsExtracted Order Family Species Reference ReadsMapped ProportionMapped ReadsDeduped DuplicationRate CoveredBP ReadsBedfiltered PostBedCoveredBP FamPercentage Ancientness ReadsDeam(1term) ReadsDeam(3term) Deam5(95ci) Deam3(95ci) Deam5Cond(95ci) Deam3Cond(95ci) MeanFragmentLength MeanFragmentLength(3term) Coverage Breadth ExpectedBreadth ProportionExpectedBreadth
2-
- - 0 0 0 0 0 0 - 0 - - - best 0 0 0 0 0 - - - - - - - - - - 0 0 0 0 0 0
2+
- - 0 0 0 0 0 0 - 0 - - - best 0 0 0 0 0 - - - - - - - - - - 0 0 0 0.0 0.0

main.nf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ workflow {
317317
.groupTuple(by:[0,1]) //[[rg, fam, [covered_bp < .. < covered_bp][meta,meta,meta],[bam,bam,bam]]
318318
.map{n -> [n[3][-1], n[4][-1]]} // from the highest, the [meta, bam]
319319

320-
best.view()
321320
//
322321
// 7. Run Intersect Bed
323322
//

modules/local/samtools_coverage/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ process SAMTOOLS_COVERAGE {
1313

1414
script:
1515
"""
16-
samtools coverage -H ${bam} | cut -f 5-7
16+
samtools coverage -H ${bam} --ff UNMAP | cut -f 5-7
1717
1818
cat <<-END_VERSIONS > versions.yml
1919
"${task.process}":

0 commit comments

Comments
 (0)