Did I find the right examples for you? yes no

All Samples(7)  |  Call(0)  |  Derive(0)  |  Import(7)
FastaIterator.py - iterate over fasta files
===========================================

The difference to the biopython iterator is that this one 
skips over comment lines starting with "#".

Code
----

src/c/g/cgat-HEAD/CGATPipelines/pipeline_docs/pipeline_metagenomebenchmark/pipeline_metagenomebenchmark.py   cgat(Download)
from rpy2.rinterface import RRuntimeError
import PipelineMapping
import FastaIterator
import PipelineMapping
import PipelineMappingQC

src/c/g/cgat-HEAD/CGATPipelines/pipeline_docs/pipeline_metagenomeassembly/pipeline_metagenomeassembly.py   cgat(Download)
import PipelineMapping
import PipelineGenomeAssembly
import FastaIterator
import metaphlan_utils
import PipelineMapping

src/c/g/CGAT-0.2.0/CGAT/WrapperENC.py   CGAT(Download)
 
import Experiment
import FastaIterator
 
 

src/c/g/CGAT-0.2.0/CGAT/WrapperBl2Seq.py   CGAT(Download)
 
import Experiment
import FastaIterator
 
class Bl2SeqError(Exception):

src/c/g/CGAT-0.2.0/CGAT/Motifs.py   CGAT(Download)
 
import Experiment as E
import Genomics, FastaIterator
import numpy
 

src/c/g/CGAT-0.2.0/CGAT/Masker.py   CGAT(Download)
 
import Experiment as E
import Genomics, FastaIterator
import cStringIO as StringIO
 

src/c/g/cgat-HEAD/scripts/quality2fasta.py   cgat(Download)
    def __init__(self, infile, alphabet="fastq", encoding="phred", default=None):
        """default: set all quality scores to this default value."""
 
        import FastaIterator
        self.mInputIterator = FastaIterator.FastaIterator(infile)