To whom it may concern, I am Ghiwa a research assistant at Dr.Pierre Khoeuiry bioinformatic's lab at the American University of Beirut. We are currently building our package and we have a question, we hope you can help us with. While writing the documentation for the function(.Rd file) the examples section is mandatory, but our function uses chrom.sizes and chain files which should be user provided. How can we address this while writing the example? Should we include a chrom.sizes file and a chain file in the inst folder to allow the example to run? And the disadvantage of that would be that the package would be large since the chain file is a large file. Any recommendations? Thank you. Regards, Ghiwa
[Bioc-devel] Question about package development
3 messages · Ghiwa Khalil, Shepherd, Lori, Vincent Carey
You could see if there are any appropriate chain files provided in AnnotationHub (https://bioconductor.org/packages/release/bioc/html/AnnotationHub.html) library(AnnotationHub) ah = AnnotationHub( ) query(ah, "chain file") or investigate other packages that do similar functions or address a similar types of data - they might have data you could use for the example as well. https://bioconductor.org/packages/release/BiocViews.html# Lori Shepherd Bioconductor Core Team Roswell Park Cancer Institute Department of Biostatistics & Bioinformatics Elm & Carlton Streets Buffalo, New York 14263
From: Bioc-devel <bioc-devel-bounces at r-project.org> on behalf of Ghiwa Khalil <ghiwa.khalil at lau.edu>
Sent: Friday, August 3, 2018 4:23:35 AM
To: bioc-devel at r-project.org
Subject: EXTERNAL: [Bioc-devel] Question about package development
Sent: Friday, August 3, 2018 4:23:35 AM
To: bioc-devel at r-project.org
Subject: EXTERNAL: [Bioc-devel] Question about package development
To whom it may concern,
I am Ghiwa a research assistant at Dr.Pierre Khoeuiry bioinformatic's lab at the American University of Beirut.
We are currently building our package and we have a question, we hope you can help us with.
While writing the documentation for the function(.Rd file) the examples section is mandatory, but our function uses
chrom.sizes and chain files which should be user provided.
How can we address this while writing the example? Should we include a chrom.sizes file and a chain file in the inst folder
to allow the example to run? And the disadvantage of that would be that the package would be large since the chain file is a large file.
Any recommendations?
Thank you.
Regards,
Ghiwa
[[alternative HTML version deleted]]
_______________________________________________
Bioc-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel
This email message may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited. If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.
As Lori has noted Bioconductor users have access to many chain files through AnnotationHub -- please let us know if these are not sufficient for your needs.
library(AnnotationHub) ah = AnnotationHub()
query(ah, "chain")
AnnotationHub with 1513 records
# snapshotDate(): 2018-08-01
# $dataprovider: UCSC
# $species: Homo sapiens, Mus musculus, Bos taurus, Pan troglodytes, Danio
r...
# $rdataclass: ChainFile, GRanges
# additional mcols(): taxonomyid, genome, description,
# coordinate_1_based, maintainer, rdatadateadded, preparerclass, tags,
# rdatapath, sourceurl, sourcetype
# retrieve records with, e.g., 'object[["AH5097"]]'
title
AH5097 | Primate Chain/Net
AH5098 | Placental Chain/Net
AH5099 | Vertebrate Chain/Net
AH5126 | Self Chain
AH5229 | Chimp Chain/Net
... ...
AH15215 | sacCer3ToSacCer2.over.chain.gz
AH15216 | sacCer2ToSacCer1.over.chain.gz
AH15217 | sacCer2ToSacCer3.over.chain.gz
AH15218 | sacCer1ToSacCer2.over.chain.gz
AH15219 | sacCer1ToSacCer3.over.chain.gz
On Fri, Aug 3, 2018 at 4:23 AM, Ghiwa Khalil <ghiwa.khalil at lau.edu> wrote:
To whom it may concern,
I am Ghiwa a research assistant at Dr.Pierre Khoeuiry bioinformatic's lab
at the American University of Beirut.
We are currently building our package and we have a question, we hope you
can help us with.
While writing the documentation for the function(.Rd file) the examples
section is mandatory, but our function uses
chrom.sizes and chain files which should be user provided.
How can we address this while writing the example? Should we include a
chrom.sizes file and a chain file in the inst folder
to allow the example to run? And the disadvantage of that would be that
the package would be large since the chain file is a large file.
Any recommendations?
Thank you.
Regards,
Ghiwa
[[alternative HTML version deleted]]
_______________________________________________ Bioc-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel