Entering edit mode
Andreia Fonseca
▴
810
@andreia-fonseca-3796
Last seen 7.7 years ago
Dear all,
I have a range list which I have created like this:
aln<-readAligned("GHO-23_filtered.fastq_aligned", type="Bowtie")
cvg = coverage(aln)
islands <- slice(cov, lower = 1)
ranges_islands <-slice(cvg, 1, rangesOnly=TRUE)
And then I have a GRange object which I have imported
genes=import.gff3("Egrandis_162_gene.gff3", asRangedData=FALSE)
I want to select the ranges in ranges_islands which do not overlap
with
genes into object final_ranges and then I want to select the reads
from aln
which are within or overlapping >50% with object final_ranges.
I also would like to export the object final_ranges to a table chr,
start,
end.
Can someone help?
Thanks
Andreia
----------------------------------------------------------------------
-------------------------
Andreia J. Amaral, PhD
BioFIG - Center for Biodiversity, Functional and Integrative Genomics
Instituto de Medicina Molecular
University of Lisbon
Tel: +352 217500000 (ext. office: 28253)
email:andreiaamaral@fm.ul.pt ; andreiaamaral@fc.ul.pt
[[alternative HTML version deleted]]