Docker Issues
Docker daemon not running
Docker daemon not running
Symptom:Solution:Linux:macOS:
- Open Docker Desktop from Applications
- Wait for the whale icon to appear in the menu bar
- Verify with:
docker ps
- Launch Docker Desktop from Start menu
- Wait for “Docker Desktop is running” notification
- Verify with:
docker ps
Port 8050 already in use
Port 8050 already in use
Symptom:Cause: Another application or previous PROTÉGÉ PD instance is using port 8050.Solution 1: Find and stop the processLinux/macOS:Windows:Solution 2: Use a different portThen access the application at
http://127.0.0.1:8051Solution 3: Stop previous PROTÉGÉ containerPermission denied accessing Docker
Permission denied accessing Docker
Symptom:Linux Solution:Temporary workaround:
File Path and Mounting Issues
Cannot find input file (Linux/Mac)
Cannot find input file (Linux/Mac)
Symptom:Cause: File not in mounted directory or incorrect path specified.Solution:
- Verify file exists:
- Use absolute paths for mounting:
- Verify mount inside container:
- Use current directory shortcut:
Cannot find input file (Windows)
Cannot find input file (Windows)
Symptom:Windows-specific solutions:
- Use forward slashes in Windows paths:
-
Enable drive sharing in Docker Desktop:
- Open Docker Desktop Settings
- Go to “Resources” → “File Sharing”
- Add the drive containing your files (e.g., C:)
- Click “Apply & Restart”
- PowerShell example:
- WSL2 users:
Read-only file system errors
Read-only file system errors
Symptom:Cause: Container cannot write output files to mounted directory.Solution:
- Check directory permissions:
- Ensure mount is not read-only:
- Check Docker Desktop settings (Mac/Windows):
- Ensure file sharing is enabled for the directory
- Restart Docker Desktop
MUSCLE Alignment Issues
MUSCLE binary not found
MUSCLE binary not found
Symptom:Cause: MUSCLE binary not in PATH or not executable.Solution:
- Verify MUSCLE is installed:
- Check if executable:
- Manually install if missing:
- Rebuild image if persistent:
MUSCLE alignment fails with large datasets
MUSCLE alignment fails with large datasets
Symptom:orCause: Insufficient memory allocated to Docker.Solution:
-
Increase Docker memory (Docker Desktop):
- Open Docker Desktop Settings
- Go to “Resources” → “Advanced”
- Increase Memory to at least 4GB (8GB for large datasets)
- Click “Apply & Restart”
- Increase CPUs for faster processing:
-
Filter sequences before alignment:
- Reduce redundancy in input sequences
- Remove sequences with excessive gaps
- Use representative sequences for large datasets
- Monitor resource usage:
MUSCLE memory usage scales with sequence count and length. For >500 sequences, consider 8GB+ RAM.
Invalid amino acid translation errors
Invalid amino acid translation errors
Symptom:Cause: Input sequences contain:
- Non-standard nucleotides (N, R, Y, etc.)
- Incorrect reading frame
- Sequence length not divisible by 3
- Validate FASTA file:
- Verify sequence lengths:
- Clean sequences:
- Remove ambiguous nucleotides
- Ensure sequences are in-frame
- Verify sequences are protein-coding genes
PROTÉGÉ PD expects protein-coding genes in nucleotide format. Ensure your sequences are correctly annotated coding sequences (CDS).
Web Interface Issues
Browser cannot connect to 127.0.0.1:8050
Browser cannot connect to 127.0.0.1:8050
Symptom:
- “This site can’t be reached”
- “Unable to connect”
- “Connection refused”
- Verify container is running:
- Check if port is mapped:
- Check container logs:
-
Wait for server startup:
- Initial alignment can take 1-5 minutes
- Watch logs:
docker logs -f protege - Look for “Dash is running on http://0.0.0.0:8050/”
-
Try different browser:
- Chrome:
http://127.0.0.1:8050 - Firefox:
http://127.0.0.1:8050 - Safari:
http://127.0.0.1:8050
- Chrome:
- Check firewall:
Dash application crashes or freezes
Dash application crashes or freezes
Symptom:
- White screen
- “Application Error”
- Browser tab becomes unresponsive
-
Check browser console (F12):
- Look for JavaScript errors
- Check Network tab for failed requests
- Restart container:
-
Clear browser cache:
- Chrome: Ctrl+Shift+Delete → Clear cache
- Firefox: Ctrl+Shift+Delete → Clear cache
-
Reduce dataset complexity:
- Try with fewer sequences first
- Increase consensus threshold:
-c 95
- Check container resources:
Plots not displaying correctly
Plots not displaying correctly
Symptom:
- Empty graphs
- Missing data points
- Layout issues
-
Wait for data processing:
- Plots appear after alignment completes
- Check console output for “CONTROL 5”, “CONTROL 6”, etc.
- Verify consensus calculation:
-
Check for degeneracy filtering:
- Application filters primers with 0 degeneracies
- If no primers shown, try lower consensus:
-c 80
-
Browser compatibility:
- Use modern browsers (Chrome 90+, Firefox 88+, Safari 14+)
- Enable JavaScript
- Disable ad blockers that might interfere
- Check CSV output:
Installation and Update Issues
Image pull fails or is slow
Image pull fails or is slow
Symptom:Solution:
- Check internet connection:
- Restart Docker daemon:
- Use Docker mirror (China/slow connections):
- Pull with retry:
Python package version conflicts
Python package version conflicts
Symptom:Cause: Outdated image or corrupted installation.Solution:
- Pull latest image:
- Remove old images:
- Verify Python packages:
- Rebuild from source:
Output and Results Issues
Output files not created
Output files not created
Symptom:
- Missing
protege_consensus.csv - Missing
sequences.csv - Missing
alSequences.csv
- Check container logs for errors:
- Verify write permissions:
- Check if alignment completed:
- Run with verbose flag:
- List files in container:
No primers with acceptable degeneracy
No primers with acceptable degeneracy
Symptom:Cause: Consensus threshold too strict or sequences too divergent.Solution:
- Lower consensus threshold:
- Adjust codon length:
-
Check sequence diversity:
- Too divergent: Consider using only closely related species
- Too similar: Primers will have low specificity
- Review consensus CSV:
Ideal primer degeneracy: 1-1024. Higher values indicate excessive sequence variation at that position.
Getting Additional Help
If your issue is not covered here:-
Check container logs:
-
Gather system information:
-
Report the issue:
- GitHub: https://github.com/ddelgadillod/ProtegePD/issues
- Email: [email protected]
- Include: error messages, system info, sample input files (if possible)