scout/adapter/mongo/hgnc.py
def transcripts(self, build='37', hgnc_id=None):
        """Return all transcripts.
        
            If a gene is specified return all transcripts for the gene
        
        Args:
            build(str)
            hgnc_id(int)
        
        Returns:
            iterable(transcript)
        """
        
        query = {'build': build}
        if hgnc_id:
            query['hgnc_id'] = hgnc_id
        
        return self.transcript_collection.find(query)
def transcripts(self, build='37', hgnc_id=None):
        """Return all transcripts.
        
            If a gene is specified return all transcripts for the gene
        
        Args:
            build(str)
            hgnc_id(int)
        
        Returns:
            iterable(transcript)
        """
        
        query = {'build': build}
        if hgnc_id:
            query['hgnc_id'] = hgnc_id
        
        return self.transcript_collection.find(query)
Return all transcripts.
        
            If a gene is specified return all transcripts for the gene
        
        Args:
            build(str)
            hgnc_id(int)
        
        Returns:
            iterable(transcript)