Skip to content

Commit

Permalink
comment out old linkouts code until such time as the new linkouts ser…
Browse files Browse the repository at this point in the history
…vice supports html page generation
  • Loading branch information
adf-ncgr committed Sep 24, 2024
1 parent b5fa131 commit 352e0d8
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions lib/sequenceserver/links.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,25 +60,25 @@ module Links
# query_coords = coordinates[0]
# hit_coords = coordinates[1]

def lis
if id.match("gnm.*\.ann")
url = "https://www.legumefederation.org/en/linkout_mgr/?gene=" + id
{
order: 2,
title: 'LIS gene linkouts',
url: url,
icon: 'fa-link'
}
else
url = "https://www.legumefederation.org/en/linkout_mgr/?seqname=" + id + "&start=" + coordinates[1][0].to_s() + "&end=" + coordinates[1][1].to_s()
{
order: 2,
title: 'LIS region linkouts',
url: url,
icon: 'fa-link'
}
end
end
# def lis
# if id.match("gnm.*\.ann")
# url = "https://www.legumefederation.org/en/linkout_mgr/?gene=" + id
# {
# order: 2,
# title: 'LIS gene linkouts',
# url: url,
# icon: 'fa-link'
# }
# else
# url = "https://www.legumefederation.org/en/linkout_mgr/?seqname=" + id + "&start=" + coordinates[1][0].to_s() + "&end=" + coordinates[1][1].to_s()
# {
# order: 2,
# title: 'LIS region linkouts',
# url: url,
# icon: 'fa-link'
# }
# end
# end

def jbrowse
# Create the JBrowse link only for genomic regions, not genes
Expand Down

0 comments on commit 352e0d8

Please sign in to comment.