Questions tagged [python3]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
10 views

What is the best way to drop alignment artifacts in sequence objects in biopython?

I have a bunch of sequences created with Roary which I want to preprocess. When I read the sequences (genomics data) I want to translate them to protein sequences ...
0
votes
2answers
41 views

How to fix NameError?

I am working on a project and am having issues with the following code that I have written in nano: ...
0
votes
2answers
29 views

How to count the kmer occurrence in FASTA file considering overlapping and reverse complement?

I am using count_overlap() for counting the kmers from Biopython . Does it take the reverse complement of kmer into account? I need to count reverse complement too
1
vote
1answer
45 views

How to predict with the pre-trained DNABERT model?

I was curious to give DNA BERT a try. This is a BERT (Bidirectional Encoder Representations from Transformers) model that was trained on short (k=3,4,5, or 6) k-...
1
vote
1answer
55 views

I want to write python program to cut a DNA sequence at an EcoRI restriction site and print the two fragments after cutting

Seq = AAAAAAAAAAATTTTTTTTTTTGAATTCCCCCCCCCCCGGGGGGGGGGG Restriction site = GAATTC I want to cut the sequence at GA/ATTC I tried split method in python but It does not cut at GA/ATTC. Please help
1
vote
1answer
65 views

Find CRISPR PAM-sites with python

I am a college student and just started bioinformatics. I am trying to write a script (not for school) that finds all potential NGG and TTTN protospacer adjacent motif sequences in a genome string. I ...