Skip to content

Commit

Permalink
Add Arabidopsis thaliana to inlined organisms
Browse files Browse the repository at this point in the history
The organisms object should be expanded, split into a different file, and populated at chromosome build time
  • Loading branch information
eweitz committed Apr 3, 2019
1 parent e2591d2 commit 49aafc1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/js/init/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@ function configureOrganisms(ideo) {
default: 'GCF_000001635.20'
}
},
3702: {
commonName: 'Arabidopsis thaliana',
scientificName: 'Arabidopsis thaliana',
scientificNameAbbr: 'A. thaliana',
assemblies: {
default: 'TAIR10'
}
},
4641: {
commonName: 'banana',
scientificName: 'Musa acuminata',
Expand Down
2 changes: 1 addition & 1 deletion src/js/init/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function getBandFileNames(taxid, bandFileNames, ideo) {

bandFileName = getBandFileName(taxid, accession, ideo);

if (taxid === '9606' || taxid === '10090') {
if (taxid in ideo.organisms) {
bandFileNames[taxid] = bandFileName;
}
return bandFileNames;
Expand Down

0 comments on commit 49aafc1

Please sign in to comment.