Conversation
Comment on lines
+33
to
+39
| ```Python | ||
| amino_acid_tools('DNA', 'russco', 'LOLkEk', 'azaz', 'three_letter_code') | ||
| ``` | ||
| Output: ['AspAsnAla', 'ArgSecSerSerCysPyl', 'LeuPylLeuLysGluLys', 'unexpected symbols in sequence'] | ||
|
|
||
| ```Python | ||
| amino_acid_tools('DNA', 'russco', 'LOLkEk', 'azaz', 'letter_code') |
There was a problem hiding this comment.
)))0)0
Хотя всё-таки в "официальной документации" так делать не надо ))
| """ | ||
| n = 0 | ||
| for nucl in seq: | ||
| if nucl == 'c' or nucl == 'g' or nucl == 'C' or nucl == 'G': |
| Returns: | ||
| (str): oligo- and polynucleotide sequence | ||
| """ | ||
| return complement(seq)[::-1] |
Comment on lines
+1
to
+3
| import modules.nucleic_acids_functions as na | ||
| import modules.fastq_filters as ff | ||
| import modules.amino_acids_functions as aa |
| import modules.nucleic_acids_functions as na | ||
| import modules.fastq_filters as ff | ||
| import modules.amino_acids_functions as aa | ||
| NUCLEOTIDES = {'U', 'A', 'g', 't', 'G', 'T', 'a', 'c', 'C', 'u'} |
Comment on lines
+135
to
+136
| good_seqs = ff.filter_length(ff.filter_quality(ff.filter_gc(seqs, gc_bounds_both_side), quality_treshold), | ||
| length_bounds_both_side) |
There was a problem hiding this comment.
Классно, но, имхо, через переменные красивее ))
filtered_by_gc = filter_gc(seqs, ...)
filtered_by_quality = filter_quality(filtered_by_gc, ...)
filtered_by_len = filter_length(filtered_by_quality, ...)Прост фильтров же может быть еще 10 ))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.