Skip to content

Commit

Permalink
Merge pull request #1584 from SynBioHub/fixBlastp
Browse files Browse the repository at this point in the history
Fix blastp
  • Loading branch information
cjmyers authored Dec 10, 2024
2 parents 5f9dcc1 + 4eb2998 commit 27fdb65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/summarize/summarizeSequence.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function summarizeSequence (sequence, req, sbol, remote, graphUri) {
encoding: sequence.encoding.toString(),
elements: elements,
formatted: formatSequence(elements),
blastUrl: encoding === 'http://www.chem.qmul.ac.uk/iupac/AminoAcid/'
blastUrl: encoding === 'AminoAcid'
? 'http://blast.ncbi.nlm.nih.gov/Blast.cgi?PROGRAM=blastp&PAGE_TYPE=BlastSearch&LINK_LOC=blasthome'
: 'http://blast.ncbi.nlm.nih.gov/Blast.cgi?PROGRAM=blastn&PAGE_TYPE=BlastSearch&LINK_LOC=blasthome'
}
Expand Down

0 comments on commit 27fdb65

Please sign in to comment.