Description Usage Arguments Details Value See Also Examples
View source: R/funclib_polyAtailor.R
tailScan
Returns a table containing at least read_num, tail length,
and tail sequence.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | tailScan(
fastq,
mcans,
findUmi,
lumi,
adapterSeq,
anchorSeq,
resultpath,
samplename,
tailAnchorLen,
minTailLen,
realTailLen,
maxNtail,
mapping,
mapinfo
)
|
fastq |
The path of fastqfile. |
mcans |
The maximum allowable mismatch number in the sliding window algorithm,default=5. |
findUmi |
Boolean value.Indicates whether the sequence structure contains UMI or barcode.If it is ture, the UMI or Barcode will be extracted separately. |
lumi |
The length of umi in reads. "lumi = 0" means there is no need to extract umi from reads. |
adapterSeq |
character.If you enter a FASTQ file that does not remove the 3 'adapter, please provide the full sequence of adapters. |
anchorSeq |
character.If your sequence structure has a sequence of anchor points identifying tails, enter this parameter. |
resultpath |
The path where you want to store the result data. |
samplename |
Specify a sample name for your data. |
tailAnchorLen |
Specifies the minimum tail anchor point length,default=8. |
minTailLen |
Specifies the minimum tail length,default=8. |
realTailLen |
Specifies what you think is the true tail length,default=30. |
maxNtail |
Specifies the maximum number of tails that should be found in a sequence,default=2. |
mapping |
Boolean value.The default value is F. |
This function quantifies the possible tails of all sequences in a FASTQ file with a non-aligned manner.You need to specify the parameters according to the structure of your sequence.We will save the found tail data and the sequence data that did not find the tail to the path you specified
Save the quantitative tail results table of various algorithms to the path you specify.Meanwhile, return the tail dataframe
[tailMap()] to quantitative tails based on sequence algin.
Other Poly(A) Tail length quantification functions:
faBuilder()
,
geneAnno()
,
tailMap()
1 2 3 4 5 6 | fastqfile <- system.file("extdata", "./GV_fastq/PAIso_GV1.fastq", package =
"PolyAtailor", mustWork = TRUE)
GV1tailDF<-tailScan(fastqfile,mcans=5,findUmi = F,resultpath =
"./",samplename =
"GV1",tailAnchorLen=8,minTailLen=8,realTailLen=20,maxNtail=2,mapping=F)
head(GV1tailDF)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.