Perform semi global alignment on local machine
0
0
Entering edit mode
8.0 years ago
ekal ▴ 20

I have one gene from a reference genome in .txt format, and one query genome in .fastq format. I need to search the query genome, a rice genome (n=7, 430Mbp), for a sequence homologous to the reference gene.

So far, I have tried loading both sequences to strings in python and aligning them using pairwise2 in biopython. After loading the query genome to a string object, the pairwise2 alignment function raises a memory error. I'm sure there are smarter ways to deal with the large .fastq query genome, which is why I've come here.

How do I find a homolog in a large .fastq file? I'm happy to use R or Python or whichever platform works best.

alignment blast genome • 1.9k views
ADD COMMENT
0
Entering edit mode

Why don't you use BLAST? You can install and run it locally.

ADD REPLY
0
Entering edit mode

You could use mummer for global alignment.

ADD REPLY

Login before adding your answer.

Traffic: 1893 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6