diff --git a/db/.htaccess b/db/.htaccess new file mode 100644 index 000000000..99386e0ab --- /dev/null +++ b/db/.htaccess @@ -0,0 +1,26 @@ +# HTACCESS rules for the w3id.org/db namespace + +Options +FollowSymLinks +RewriteEngine on + +## Redirect the top level + +RewriteRule ^$ https://github.com/mapping-commons/database-purl [R=302] + +## Redirect main-level documentation and resources + +RewriteRule ^docs$ https://github.com/mapping-commons/database-purl/blob/main/README.md [R=302,L] + +## Redirects for individual databases + +### Database: HGNC + +#### Maintainers (need to sign of on changes): One of [@matentzn, @udp, @cmungall] + +RewriteRule ^hgnc/gene/(\d+)$ https://www.genenames.org/data/gene-symbol-report/#!/hgnc_id/HGNC:$1 [R=302] + +#### Alternative (needs some discussion) + +#### RewriteRule ^hgnc/gene/HGNC:(\d+)$ https://www.genenames.org/data/gene-symbol-report/#!/hgnc_id/HGNC:$1 [R=302] + +RewriteRule ^hgnc/group/(\d+)$ https://www.genenames.org/data/genegroup/#!/group/$1 [R=302] diff --git a/db/README.md b/db/README.md new file mode 100644 index 000000000..3bf9dc828 --- /dev/null +++ b/db/README.md @@ -0,0 +1,12 @@ +# ID Space for managing PURLS for database identifiers + +Homepages +* https://github.com/mapping-commons/database-purl -- Description of the project and its goals + +Docs +* https://github.com/mapping-commons/database-purl/blob/main/README.md + +Contact +* Chris Mungall cjmungall AT lbl DOT gov @cmungall +* James McLaughlin jmcl AT ebi DOT ac DOT uk @udp +* Nicolas Matentzoglu nicolas.matentzoglu AT gmail DOT com @matentzn