Skip to content

Commit b468699

Browse files
authored
Merge pull request #256 from unipept/fix/wrongly-marking-redundant-proteomes
Fixed too many proteomes identified as redundant
2 parents aecca56 + abd1236 commit b468699

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/logic/communication/proteomes/ProteomeCommunicator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ export default class ProteomeCommunicator {
2525
// Only the header is present, we didn't find the requested proteome and return null.
2626
return null;
2727
} else if (resultLines.length === 2) {
28-
// We found the requested proteome, but we are first going to check if its redundant or not.
28+
// We found the requested proteome, but we are first going to check if it's redundant or not.
2929
const validProteomes = await NetworkUtils.get(
30-
`https://rest.uniprot.org/proteomes/stream?compressed=false&fields=upid,organism,organism_id,protein_count&format=tsv&query=(${id}) AND (proteome_type=1)`
30+
`https://rest.uniprot.org/proteomes/stream?compressed=false&fields=upid,organism,organism_id,protein_count&format=tsv&query=(${id}) AND ((proteome_type=1) OR (proteome_type=2))`
3131
);
3232

3333
// Input data is TSV, so we split the fields by a tab-character.

0 commit comments

Comments
 (0)