Closed peranti closed 2 years ago
Hi, here in seqinfo
, the "sequence" does not mean the regions you have, but the "chromosomes".
Thanks for the reply.
Isn't the input as specified in the package manual?
chr start end
<chr> <int> <dbl>
1 chr1 244094861 244094862
2 chr1 47070826 47070827
3 chr1 43770784 43770785
4 chr1 10730860 10730861
5 chr1 51703271 51703272
How could we avoid this warning message?
This information is from the GenomicRanges
package (or more internally, the GenomeInfoDb
package). For the 256 regions you provided, the function only knows there is chr1, but no information of the genome and the full chromosome lengths. That is why it says the object only contains 1 sequence (chr1) and no seqlengths.
Basically, you can just ignore that, in the most analysis, it won't affect anything.
If you really want to assign a valid seqinfo for hg19, you can do as:
seqinfo(res_chrLoop) = Seqinfo(genome="hg19")
or
seqinfo(res_chrLoop) = Seqinfo(genome="hg19")[paste0("chr", c(1:22, "X", "Y"))]
Check the manual for Seqinfo()
function.
Hi @jokergoo
Thanks for the amazing package.
I have a very basic question, which may even be not related to this package functionality. However, I am sure you would be aware of the answer. I couldn't find the reason for the output message on the forums, maybe it is known to be basic information in the Bioconductor world?
The question is about the
plotRegionGeneAssociationGraphs
output and I have mentioned the parameters used for both the functions below.Important info to be noticed:
Inputs: 256 regions
Important info to be noticed:
[256] chr1 249119531-249119532 * | SH3BP5L 1300
What does this message:
seqinfo: 1 sequence from an unspecified genome; no seqlengths
exactly mean? I think this is generated from the main Bioconductor packages and notrGREAT
, if I am not wrong, this message is fromGenomeInfoDb::Seqinfo
.How to identify this 1 sequence? As far as I checked, the number of input regions and the mappings are matching (i.e.,
256
). What is the reason behind this information in the output?Edit:
Input data: It doesn't contain any
NA
values.I found the 1 sequence using the following command:
However, I am not aware of the reason for this output. Which input resulted in this message?