Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
| Download
Local alignment code
Project: Frany sanghavi - BINF 5004
Path: 2023-11-13-file-1.ipynb
Views: 17Image: ubuntu2204
Kernel: Python 3 (system-wide)
In [7]:
Out[7]:
Current Working Directory: /home/user
Directory of the file: /home/user
In [8]:
Out[8]:
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/tmp/ipykernel_378/2177259126.py in <cell line: 127>()
126
127 if __name__ == "__main__":
--> 128 main()
/tmp/ipykernel_378/2177259126.py in main()
114
115 # Build the scoring matrix
--> 116 scoring_matrix = build_scoring_matrix(blosum62_file)
117
118 # Perform local alignment
/tmp/ipykernel_378/2177259126.py in build_scoring_matrix(matrix_file)
1 def build_scoring_matrix(matrix_file):
----> 2 with open(matrix_file, 'r') as file:
3 lines = file.readlines()
4
5 header = None
FileNotFoundError: [Errno 2] No such file or directory: '/home/users/blosum62.txt'