This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Java Fasta Reference Iterator

I'm looking for a java class/package iterate over the loci in a fasta reference and provide the read pileup at each locus from a corresponding bam file. Basically I'm looking for something like the GATK locus walker, but I don't want to use the map/reduce methodology. I've been googling, but I can't seem to find anything which fits the description. I thought that the might be something in Picard, but I can't spot how to do it. Any thing like this out there? I just want to be sure about this before I go into writing a parser of my own.

java fasta

1 answer

have a look at picard: SamLocusIterator and example in

Log in to answer this question.