Skip to content

Commit

Permalink
Fix blastp
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmyers committed Nov 30, 2024
1 parent 6d69488 commit 795eb14
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 795eb14

Please sign in to comment.