Skip to content
Snippets Groups Projects

Release v2.1.0

Merged Loraine Gueguen requested to merge dev into master
Compare and Show latest version
1 file
+ 17
0
Compare changes
  • Side-by-side
  • Inline
+ 17
0
@@ -151,6 +151,23 @@ def get_sp_picture(sp_dict_list):
sp_picture_dict[gspecies] = sp[constants.ORG_PARAM_DESC][constants.ORG_PARAM_DESC_PICTURE_PATH]
return sp_picture_dict
def get_sp_jbrowse_links(org_list):
"""
Get the jbrowse links from all strains for each species
"""
jbrowse_links_dict = {}
for org in org_list:
gspecies = org.genus_species
if org.contig_prefix != "":
if gspecies not in jbrowse_links_dict.keys():
jbrowse_links_dict[gspecies] = org.contig_prefix + ">" + org.species_folder_name
else:
jbrowse_links_dict[gspecies] = jbrowse_links_dict[gspecies] + ";" + org.contig_prefix + ">" + org.species_folder_name
return jbrowse_links_dict
def create_org_param_dict_from_constants():
"""
Create a dictionary of variables containing the keys needed to render the organisms.yml.j2 (NOT the values)
Loading