This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Masking Uncovered Segments Of Assembled Contig

Hi,

I've got contigs assembled from a read set, and I want a simple tool that, for a subset of the reads, will map again to the contig and mask with NNNs those parts of the contig that are not covered by the read subset.

What would be a good tool for that?

I've been told I should script around pileup, but I refuse to think there isn't an easier way of doing it already.

Cheers

assembly reference

Hi @Avilella. What kind of format are the data in? .fasta? .ace? Are there low quality ends on your assembled sequences (such as would be described in an .ace file) that should not be included in your mapped region of the contigs? Would you accept a Python solution using Biopython or do you absolutely want an already made program? Cheers!

2 answers

maskFastaFromBed from the bedtools? See here

Answering my own question, I actually ended up using maq easyrun and using the consensus sequence.

perl ~/src/maq/maq-0.7.1/scripts/maq.pl easyrun -d outdir 327.columbus/contigs.fa 286557.reads

Log in to answer this question.