Skip to content

HW4_Trofimov #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
921d35b
Create folder for work
michtrofimov Sep 26, 2023
49a006a
Delete HW4_Trofimov/folder_file
michtrofimov Sep 26, 2023
b8a58af
Create working folder
michtrofimov Sep 26, 2023
53527e6
Rename main script
michtrofimov Sep 26, 2023
2e0b826
Add function for isoelectric point calculation
michtrofimov Sep 27, 2023
27a72c7
Add auxiliary function build_scoring_matrix for the needleman-wunsch …
michtrofimov Sep 27, 2023
399b7f2
Add needleman-wunsch function
michtrofimov Sep 27, 2023
40af002
Create README.md
michtrofimov Sep 27, 2023
8612f17
Add function calculating aminoacids fruquencies
Alisa411 Sep 28, 2023
fa90ace
Merge pull request #1 from Alisa411/HW4_Trofimov
michtrofimov Sep 28, 2023
264e6cf
Add file with dictionaries
SuleimanovShakir Sep 28, 2023
428a231
Add modules import and is_protein function
SuleimanovShakir Sep 28, 2023
7954e4a
Add comments to previously written functions
SuleimanovShakir Sep 28, 2023
93feb9f
Add function to convert one-letter aminoacid sequence to three-letter
SuleimanovShakir Sep 28, 2023
8d1dbb8
Add function to calculate protein mass
SuleimanovShakir Sep 28, 2023
c245259
Add function to translate protein sequence to RNA
SuleimanovShakir Sep 28, 2023
05e1aed
Merge pull request #2 from SuleimanovShakir/HW4_Trofimov
michtrofimov Sep 28, 2023
e6b19dd
Add description for my functions
SuleimanovShakir Sep 28, 2023
06b3c4f
Merge pull request #3 from SuleimanovShakir/HW4_Trofimov
michtrofimov Sep 28, 2023
8b5985f
add main function
Alisa411 Sep 29, 2023
1e2378e
Merge pull request #4 from michtrofimov/add_main
michtrofimov Sep 29, 2023
15f5db5
Add description and usage example of calculate_aa_freq function
Alisa411 Sep 30, 2023
8d082ae
Merge branch 'HW4_Trofimov' of github.com:michtrofimov/HW4_Functions2…
Alisa411 Sep 30, 2023
b45a72d
Redo function for isoelectric point calc
michtrofimov Sep 30, 2023
1a4a8e5
Add build_scoring_matrix in main func
michtrofimov Sep 30, 2023
fcef1e4
Fix bugs calculate_aa_freq
michtrofimov Sep 30, 2023
f045f23
Update README.md
michtrofimov Sep 30, 2023
1b18fb7
Update README.md
michtrofimov Sep 30, 2023
8edf4b5
Update README.md
michtrofimov Sep 30, 2023
e52a38e
Add docstring to main function
michtrofimov Sep 30, 2023
0b721ee
Fix bugs in README.md
Alisa411 Sep 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions HW4_Trofimov/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<img width="641" alt="Screenshot 2023-09-27 at 17 01 47" src="https://github.com/michtrofimov/HW4_Functions2/assets/92677906/d5c63a17-7f6d-43c7-b88e-a2e994877abb">

# Das biotools.aminoacids
> **The great and terrifying successor of biopython**

Das biotools strikes again! Now it works only with aminoacid sequences!

## Features

- **get_pI()**: Gives isoelectric point value for each aminoacid individually.

- **build_scoring_matri()**: Auxiliary function for needleman_wunsch. Build a scoring matrix for amino acid pairs, which can be used in sequence alignment algorithms.

- **needleman_wunsch()**: Implement the Needleman-Wunsch algorithm for global sequence alignment of two amino acid sequences.

- **convert_to_3L_code()**: Converts one letter animoacid sequence to three letter aminoacid sequence.

- **protein_mass()**: Calculates molecular weight of the aminoacid sequence using monoisotopic masses.

- **translate_protein_rna()**: Converts aminoacid sequence to RNA sequence. For those aminoacids that are coded with more than one codon, this function randomly chooses one codon from the set.

- **calculate_aa_freq()**: Calculate the frequences of aminoacids in protein sequences.

## Examples

- **get_pI**

```python
calculate_pI('RAHP') -> "Sequence: RAHP. Isoelectric point of each aminoacid: [('R', 10.8), ('A', 6.0), ('H', 7.6), ('P', 6.3)]"
Comment on lines +26 to +29

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Как-то не сходятся названия функций

```

- **needleman_wunsch**

```python
needleman_wunsch('raHP','RAQQHP') -> 'ra--HP, RAQQHP, final score: 2'
```

- **convert_to_3L_code**

```python
convert_to_3L_code('ACDEF') -> 'Ala-Cys-Asp-Glu-Phe'
```

- **protein_mass**

```python
protein_mass('ACDEF') -> 565.184
```

- **translate_protein_rna**

```python
translate_protein_rna('ACDEF') -> 'GCCUGCGACGAGUUC'
```

- **calculate_aa_freq**

```python
calculate_aa_freq('ACDEF') -> {'A': 1, 'C': 1, 'D': 1, 'E': 1, 'F': 1}
```

## OUR TEAM
<img width="800" alt="Screenshot 2023-09-30 at 16 34 25" src="https://github.com/michtrofimov/HW4_Functions2/assets/92677906/38fcc288-2d27-445d-b1dc-a3b055099a26">

Up to bottom, left to right:
- Alisa Fedorenko: functions **main**, **calculate_aa_freq**
- Michil Trofimov: functions **get_pI**, **needleman_wunsch** (teamlead)
- Shakir Suleimanov: functions **convert_to_3L_code**, **protein_mass**, **translate_protein_rna**

Loading