[Bioc-sig-seq] question about N

Martin Morgan mtmorgan at fhcrc.org
Thu Sep 8 07:15:43 CEST 2011


On 09/07/2011 07:24 PM, wang peter wrote:
> dear members:
>       i have a question, that is
> i remove 5' and 3' N, and do statistics on reads with N in the middle
> then, i removed reads with N less than the cutoff
> but those remainding reads still contain N
> so i must use their id to retrieve original reads, See #1
> so what can i do?

maybe match(id(qualifiedReads), id(reads)] but it's really hard for me 
to understand your question. Maybe someone else will help.

Martin

>
> part of coding
> seqsWithoutNend<-trimLRPatterns(Rpattern = letter_subject, Lpattern =
> letter_subject,subject = injectedseqs)
> nCount<-alphabetFrequency(seqsWithoutNend)[,"N"]
> nDist<- table(nCount)
> cutoff=2
> filter1<- nFilter(threshold=cutoff)
> qualifiedReads<- reads[filter1(seqsWithoutNend)]
> reads[id(qualifiedReads)] #1
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-sig-sequencing mailing list
> Bioc-sig-sequencing at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing


-- 
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109

Location: M1-B861
Telephone: 206 667-2793



More information about the Bioc-sig-sequencing mailing list