Description Usage Arguments Value Note See Also Examples
This function takes as input a list of wells and compute the list of Long Fragments Reads sequenced in each well. Each LFR is represented by its name, its chromosome, its start and end position, its length, its average coverage, the number of reads making up the fragment and the well ID it is originating from. The function return an objoct of class LFRSet
.
1 2 |
mindistance |
The minimum distance separating two consecutive LFR. Two paired reads located within that distance are considered to be originating from the same fragments of DNA. |
unexists.action |
Define the action to perform when a well bam file do not exists. Can be one of the following:
The default value is set at 'unexists.fail' |
minFragmentsLength |
Minimum length of a fragment for it to be considered as valid. default : 1000 |
region |
A character string representing the region of the genome to consider given in the following format : 'chrom:start-end'. Default value :NULL and the Long Fragments will be retrieved across the whole BAM file. |
well_list |
A list of objects of class |
minReads |
Minimum number of reads a fragment should contains to be considered as valid. Default value : 2 |
An object of class LFRset
.
'The function creates temproary index of the bam files. So you need to have writing accesss to the location of the Bam files'.
getWellLFRset
, getLFRStats,
, plotLFRDistribution
getWells
, plotLFRDistribution
, plot.LFRset
, summary.LFRset
, getLFRStatsPerWell
, getBreadthGenomeCoverage
, getN50
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | wellsID_file=system.file('extdata','wells_id_tissue.txt',package='DigitalPicoTools')
wellsID_list<-unlist(read.table(wellsID_file))
WellSample_list=initsWellSamples(wellsID_list,
BAMprefix=paste(path.package('DigitalPicoTools'), 'extdata/',sep='/'))
FiveWellsLFRset = getLFRset(WellSample_list,3000)
print(head(FiveWellsLFRset))
# An object of class LFRdataframe with rows and columns
# LFR_name Chrom Start End Length AvgCoverage Nbreads Well_Number Well_ID
# 1 A005_chr1_47518_51209 chr1 47518 51209 3691 0.2915199 4 1 A005
# 2 A005_chr1_64725_72351 chr1 64725 72351 7626 0.2265932 7 1 A005
# 3 A005_chr1_77103_78637 chr1 77103 78637 1534 0.6147327 4 1 A005
# 4 A005_chr1_82636_87332 chr1 82636 87332 4696 0.3017462 6 1 A005
# 5 A005_chr1_98437_104080 chr1 98437 104080 5643 0.3202197 7 1 A005
# 6 A005_chr1_110942_113908 chr1 110942 113908 2966 0.2862441 3 1 A005
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.