Skip to content

Commit

Permalink
Merge pull request #60 from geneontology/feb_updates
Browse files Browse the repository at this point in the history
tighten the constraint aroudn MGI provided_by in GOA laod
  • Loading branch information
sierra-moxon authored Mar 19, 2024
2 parents b3f6d46 + aa8f151 commit 212a95b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gopreprocess/file_processors/gaf_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,13 @@ def parse_p2g_gaf(self):
for source_assoc in annotation.associations:
if isinstance(source_assoc, dict):
continue # skip the header
if self.source == "GOA" and source_assoc.provided_by == self.taxon_to_provider[self.target_taxon]:
continue
if (
self.source == "GOA"
and source_assoc.evidence.has_supporting_reference == "GO_REF:0000033"
and (
source_assoc.provided_by == self.taxon_to_provider[self.target_taxon]
or source_assoc.provided_by == "GO_Central"
source_assoc.provided_by == "GO_Central"
or source_assoc.provided_by == "GOC"
)
):
Expand Down

0 comments on commit 212a95b

Please sign in to comment.