{"action":"closed","issue":{"url":"https://api.github.com/repos/WormBase/genedesc_generator/issues/16","repository_url":"https://api.github.com/repos/WormBase/genedesc_generator","labels_url":"https://api.github.com/repos/WormBase/genedesc_generator/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/WormBase/genedesc_generator/issues/16/comments","events_url":"https://api.github.com/repos/WormBase/genedesc_generator/issues/16/events","html_url":"https://github.com/WormBase/genedesc_generator/issues/16","id":334692751,"node_id":"MDU6SXNzdWUzMzQ2OTI3NTE=","number":16,"title":"Create orthology module","user":{"login":"valearna","id":26348851,"node_id":"MDQ6VXNlcjI2MzQ4ODUx","avatar_url":"https://avatars2.githubusercontent.com/u/26348851?v=4","gravatar_id":"","url":"https://api.github.com/users/valearna","html_url":"https://github.com/valearna","followers_url":"https://api.github.com/users/valearna/followers","following_url":"https://api.github.com/users/valearna/following{/other_user}","gists_url":"https://api.github.com/users/valearna/gists{/gist_id}","starred_url":"https://api.github.com/users/valearna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valearna/subscriptions","organizations_url":"https://api.github.com/users/valearna/orgs","repos_url":"https://api.github.com/users/valearna/repos","events_url":"https://api.github.com/users/valearna/events{/privacy}","received_events_url":"https://api.github.com/users/valearna/received_events","type":"User","site_admin":false},"labels":[{"id":1108991910,"node_id":"MDU6TGFiZWwxMTA4OTkxOTEw","url":"https://api.github.com/repos/WormBase/genedesc_generator/labels/Orthology_module","name":"Orthology_module","color":"efa5d0","default":false},{"id":972497050,"node_id":"MDU6TGFiZWw5NzI0OTcwNTA=","url":"https://api.github.com/repos/WormBase/genedesc_generator/labels/orthology_sentence_construction","name":"orthology_sentence_construction","color":"dd7579","default":false}],"state":"closed","locked":false,"assignee":{"login":"valearna","id":26348851,"node_id":"MDQ6VXNlcjI2MzQ4ODUx","avatar_url":"https://avatars2.githubusercontent.com/u/26348851?v=4","gravatar_id":"","url":"https://api.github.com/users/valearna","html_url":"https://github.com/valearna","followers_url":"https://api.github.com/users/valearna/followers","following_url":"https://api.github.com/users/valearna/following{/other_user}","gists_url":"https://api.github.com/users/valearna/gists{/gist_id}","starred_url":"https://api.github.com/users/valearna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valearna/subscriptions","organizations_url":"https://api.github.com/users/valearna/orgs","repos_url":"https://api.github.com/users/valearna/repos","events_url":"https://api.github.com/users/valearna/events{/privacy}","received_events_url":"https://api.github.com/users/valearna/received_events","type":"User","site_admin":false},"assignees":[{"login":"valearna","id":26348851,"node_id":"MDQ6VXNlcjI2MzQ4ODUx","avatar_url":"https://avatars2.githubusercontent.com/u/26348851?v=4","gravatar_id":"","url":"https://api.github.com/users/valearna","html_url":"https://github.com/valearna","followers_url":"https://api.github.com/users/valearna/followers","following_url":"https://api.github.com/users/valearna/following{/other_user}","gists_url":"https://api.github.com/users/valearna/gists{/gist_id}","starred_url":"https://api.github.com/users/valearna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valearna/subscriptions","organizations_url":"https://api.github.com/users/valearna/orgs","repos_url":"https://api.github.com/users/valearna/repos","events_url":"https://api.github.com/users/valearna/events{/privacy}","received_events_url":"https://api.github.com/users/valearna/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-06-21T23:20:21Z","updated_at":"2018-10-29T22:06:26Z","closed_at":"2018-10-29T22:06:26Z","author_association":"COLLABORATOR","body":"1. put orthology sentence at the beginning of the description if an ortholog is present in orthology file\r\n2. Species list and orthology rule:\r\n  - Caenorhabditis elegans --use orthology to human\r\n  - Caenorhabditis briggsae --use orthology to elegans\r\n  - Caenorhabditis japonica --use ortholgy to elegans\r\n  - Caenorhabditis remanei --use orthology to elegans\r\n  - Caenorhabditis brenneri --use orthology to elegans\r\n  - Brugia malayi --use orthology to elegans, if not present use orthology to Onchocerca\r\n  - Onchocerca volvulus --use orthology to elegans, if not present, then use orthology to Brugia\r\n  - Pristionchus pacificus --use orthology to elegans\r\n  - Strongyloides ratti --use orthology to elegans, if not present, use orthology to Brugia and Onchocerca\r\n  - Trichuris Muris -- use orthology to elegans, if not present, use orthology to Brugia\r\n~~3. For orthology to human genes, use only those human genes that have been predicted by more than one orthology prediction method~~\r\n4. Template of an Orthology sentence\r\n  - c elegans:\r\n(i) is an ortholog of human \\<human gene symbol\\> (\\<human gene name\\>) \r\n(ii) is an ortholog of human \\<human gene1 symbol\\> (\\<human gene1 name\\>), \\<human gene2 symbol\\> (\\<human gene2 name\\>), and \\<human gene3 symbol\\> (\\<human gene3 name\\>)\r\n(iii) is an ortholog of members of the human \\<human gene family1>\\ gene family including <human gene symbol1\\>) \r\n \r\n**Non-elegans species:**\r\n(i) is an ortholog of \\<worm gene symbol\\>\r\n(ii) is an ortholog of \\<worm gene1 symbol\\>, \\<worm gene2 symbol\\>, and \\<worm gene3 symbol\\>\r\n(iii) is an ortholog of members of the C. elegans \\<gene class name\\> gene class including \\<worm gene symbol1\\> - up to three genes sorted by decreasing popularity (using Textpresso paper score)\r\n(iV) is an ortholog of members of the C. elegans \\<gene class1 name\\>, <gene class2 name>, and <gene class3 name> including \\<worm genesymbol1\\> - up to three genes sorted by decreasing popularity; also limit number of gene classes to 3, based on member Textpresso paper popularity score.\r\n\r\n5. Template rules\r\n  - take ensembl_gene_id from col 3 in orthology file and query https://rest.genenames.org/fetch/ensembl_gene_id/\\<ID\\> to get name and symbol.\r\n  - take the gene(s) with the highest number of methods (up to 3 genes) and apply template (i) or (ii)\r\n  - if more than 3 genes with the same number of methods identify human gene families (only for C elegans) through https://rest.genenames.org/fetch/ensembl_gene_id/\\<ID\\> and show one gene for family through template (iii) - for all other species use gene class in the same way as gene family.\r\n\r\n**How to pick orthologs for non-elegans species when tied for orthology methods (tie-breaker rules):**\r\nWe have too many C.elegans genes listed as orthologs for a non-elegans gene; these will be pruned using popularity (via number of publications) and (gene class name):\r\n\r\n1. If more then 3 orthologs, in the form of gene names (eg, abu-6, abu-7, abu-8) use the popularity and gene class to prune\r\n2. Genes that don't have any other members of their class get picked and mentioned first, by popularity, if not alphabetical; if tied by popularity, order by alphabetically\r\n3. If there is only one gene class, use popularity to pick the top 3 genes, order by popularity, if tied, use numerical\r\n4. If there is more than one gene class, use popularity to pick the top gene in each class, meaning you would name the leading (in popularity) gene class first; if tied, order alphabetically; in both cases\r\n5. If cosmid names (eg.C54D10.9), list upto 3, as gene class cannot be used\r\n6. If both genes and cosmids are present, use the gene class and popularity rules for the genes and leave the cosmids as is (total upto 3)\r\n7. If genes without gene classes and with gene classes are present, use popularity to pick either/both genes and gene classes (total upto 3). Order the genes first and then the gene classes, mention a single gene for each gene class, picked by popularity.\r\n8. If both popularity and gene class cannot be used, leave as such, upto 3.\r\n\r\n**How to pick human orthologs for C. elegans when tied for orthology methods (tie-breaker rules):**\r\n\r\n1. Group human genes by their family names, when 3 or more human orthologs are present, mention the first member\r\n2. If more than one family is present, include the first member from each family\r\n3. If a gene does not fall into any human gene family, leave as is, and mention this gene first, with the word 'human' before it.\r\n4. If a gene is the only member of a human gene family, mention the gene with the word 'human' before it, and not the family.\r\n"}}
{"actor":{"display_login":"valearna"}}