-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from aofarrel/qc_csv
Add QC CSV final output, fix weird or incorrect QC filters
- Loading branch information
Showing
3 changed files
with
101 additions
and
40 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Style Guide (draft) | ||
|
||
## Percentages/Ratios | ||
User facing inputs and outputs that are a percentage are written as an integer or float between 0 and 100. Something that is 90% will be written as 90 or as 90.0, not 0.90 | ||
✔️ Int covstatsQC_max_percent_unmapped = 2 | ||
X Int covstatsQC_max_percent_unmapped = 0.2 | ||
|
||
## Units for disk size | ||
Unless otherwise specified, user-facing storage units are in gigabytes. For example, variantcalling_addl_disk being 100 is interpreted as "add 100 GB to the disk calculation." | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
## implemented | ||
sample | ||
Sample ID | ||
genome_pct_coverage | ||
Percentage of the genome covered by the sample (earlyQC) | ||
mean_coverage | ||
Mean coverage (covstats) | ||
median_coverage | ||
Median coverage (earlyQC, specifically TBProfiler) | ||
pct_above_q30 | ||
Percent of reads above q30 (earlyQC, specifically fastp) | ||
reads_is_contam | ||
Reads considered contaminated (and removed) by the decontaminator | ||
reads_reference | ||
Reads considered mapping to reference by the decontaminator | ||
reads_unmapped | ||
Reads considered unmapped by the decontaminator | ||
status | ||
The status of this sample | ||
|
||
## ideas | ||
warnings | ||
Non-fatal warnings for this sample | ||
out_pct_pass_fastp | ||
Percent of reads that pass fastp's filters | ||
coverage_cutoff | ||
Coverage below this is considered "low coverage" wrt in_pct_low_cov | ||
in_pct_low_cov | ||
Percent of sites (CHECK!!) determined with coverage below coverage_cutoff; these sites get masked when creating diff files |
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