Closed priyappillai closed 2 years ago
Merging #61 (bbbf444) into main (6527d50) will decrease coverage by
0.07%
. The diff coverage is36.84%
.
@@ Coverage Diff @@
## main #61 +/- ##
==========================================
- Coverage 86.30% 86.22% -0.08%
==========================================
Files 50 50
Lines 8219 8227 +8
==========================================
+ Hits 7093 7094 +1
- Misses 1126 1133 +7
Impacted Files | Coverage Δ | |
---|---|---|
adapt/prepare/ncbi_neighbors.py | 42.75% <33.33%> (-0.59%) |
:arrow_down: |
bin/design.py | 65.81% <100.00%> (ø) |
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 6527d50...bbbf444. Read the comment docs.
Currently, when automatically getting the reference sequences, ADAPT does not check for which segment the reference sequences are for. This does not cause any errors, as reference sequences for the wrong segment will be removed during the alignment process, but it does mean that curation will not curate out any sequences that have a mislabeled segment in NCBI's database. This PR adds a check while getting reference sequences to make sure they are for the correct segment.
adapt/prepare/ncbi_neighbors
construct_references
and filter for segment using source featuresparse_genbank_xml_for_source_features
output a dictionary for source featuresbin/design.py
construct_references