https://github.com/pasted/genomewiz
Expert crowdsourcing of structural-variant (SV) labels to build ML models for SV callers
https://github.com/pasted/genomewiz
Last synced: 8 months ago
JSON representation
Expert crowdsourcing of structural-variant (SV) labels to build ML models for SV callers
- Host: GitHub
- URL: https://github.com/pasted/genomewiz
- Owner: pasted
- License: mit
- Created: 2025-10-04T19:00:32.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-10-04T20:41:44.000Z (9 months ago)
- Last Synced: 2025-10-04T21:21:12.022Z (9 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GenomeWiz
Expert crowdsourcing of structural-variant (SV) labels to build ML models for SV callers
### Authentication
GenomeWiz uses **Google Sign-In** for identity and issues its own **JWT** for API access.
1. Create OAuth 2.0 Client ID (Web) in Google Cloud Console.
2. Authorized redirect URI: `http://localhost:8000/auth/callback`
3. Set env vars in `.env`:
- `GOOGLE_CLIENT_ID`, `GOOGLE_CLIENT_SECRET`, `OAUTH_CALLBACK_URL`
- `SESSION_SECRET`, `JWT_SECRET`
- Optional: `ALLOWED_GSUITE_DOMAIN=yourlab.org`
4. Start the app and open `http://localhost:8000/auth/login`.
5. On success, the app redirects to `/auth/signed-in#token=` (for SPA) and stores a minimal server session. Use the `Authorization: Bearer ` header for API calls.
**Roles**
- First user becomes `admin` automatically (dev convenience).
- Admins can grant roles by inserting into `user_roles` (admin UI coming later).
- Protected endpoints require `curator` or `admin`.