Compare commits

...

4 Commits

Author SHA1 Message Date
Wouter Deconinck
a5f8cfd3f3 RPackages with custom url: url -> urls=[url] 2024-08-20 13:27:57 -05:00
Wouter Deconinck
d38b4024bc RPackages with bioc: remove redundant homepage and url 2024-08-20 13:27:24 -05:00
Wouter Deconinck
4d09bc13d9 RPackage: urls=[bioc/src/contrib,data/annotation/src/contrib] for bioc 2024-08-20 13:22:50 -05:00
Wouter Deconinck
1794cd598c RPackage: urls=[src/contrib,src/contrib/Archive], list_url=src/contrib 2024-08-20 13:21:41 -05:00
32 changed files with 29 additions and 46 deletions

View File

@ -85,20 +85,28 @@ def homepage(cls):
return "https://bioconductor.org/packages/" + cls.bioc return "https://bioconductor.org/packages/" + cls.bioc
@lang.classproperty @lang.classproperty
def url(cls): def urls(cls):
if cls.cran: if cls.cran:
return ( return [
"https://cloud.r-project.org/src/contrib/" "https://cloud.r-project.org/src/contrib/"
+ cls.cran + f"{cls.cran}_{str(list(cls.versions)[0])}.tar.gz",
+ "_" "https://cloud.r-project.org/src/contrib/Archive/{cls.cran}/"
+ str(list(cls.versions)[0]) + f"{cls.cran}_{str(list(cls.versions)[0])}.tar.gz",
+ ".tar.gz" ]
) elif cls.bioc:
return [
"https://bioconductor.org/packages/release/bioc/src/contrib/"
+ f"{cls.bioc}_{str(list(cls.versions)[0])}.tar.gz",
"https://bioconductor.org/packages/release/data/annotation/src/contrib/"
+ f"{cls.bioc}_{str(list(cls.versions)[0])}.tar.gz",
]
else:
return [cls.url]
@lang.classproperty @lang.classproperty
def list_url(cls): def list_url(cls):
if cls.cran: if cls.cran:
return "https://cloud.r-project.org/src/contrib/Archive/" + cls.cran + "/" return "https://cloud.r-project.org/src/contrib/"
@property @property
def git(self): def git(self):

View File

@ -9,8 +9,6 @@
class BioconductorDupradar(RPackage): class BioconductorDupradar(RPackage):
"""Assessment of duplication rates in RNA-Seq datasets""" """Assessment of duplication rates in RNA-Seq datasets"""
homepage = "https://bioconductor.org/packages/3.16/bioc/html/dupRadar.html"
url = "https://bioconductor.org/packages/release/bioc/src/contrib/dupRadar_1.30.0.tar.gz"
maintainers("pabloaledo") maintainers("pabloaledo")
bioc = "dupradar" bioc = "dupradar"

View File

@ -18,10 +18,9 @@ class BioconductorEbseq(RPackage):
are the same as those required for gene-level analysis).""" are the same as those required for gene-level analysis)."""
homepage = "https://www.biostat.wisc.edu/~kendzior/EBSEQ/" homepage = "https://www.biostat.wisc.edu/~kendzior/EBSEQ/"
url = "https://bioconductor.org/packages/release/bioc/src/contrib/EBSeq_1.40.0.tar.gz"
maintainers("pabloaledo") maintainers("pabloaledo")
bioc = "ebseq" bioc = "EBSeq"
version( version(
"1.40.0", "1.40.0",

View File

@ -9,10 +9,7 @@
class BioconductorRsubread(RPackage): class BioconductorRsubread(RPackage):
"""Mapping, quantification and variant analysis of sequencing data""" """Mapping, quantification and variant analysis of sequencing data"""
homepage = "https://bioconductor.org/packages/3.16/bioc/html/Rsubread.html" bioc = "Rsubread"
url = "https://bioconductor.org/packages/release/bioc/src/contrib/Rsubread_2.14.2.tar.gz"
bioc = "rsubread"
depends_on("r-matrix") depends_on("r-matrix")
depends_on("zlib-api") depends_on("zlib-api")

View File

@ -14,9 +14,6 @@ class BioconductorTximeta(RPackage):
metadata. De novo transcriptomes can be linked to the appropriate sources with metadata. De novo transcriptomes can be linked to the appropriate sources with
linkedTxomes and shared for computational reproducibility.""" linkedTxomes and shared for computational reproducibility."""
homepage = "https://bioconductor.org/packages/release/bioc/html/tximeta.html"
url = "https://bioconductor.org/packages/release/bioc/src/contrib/tximeta_1.18.1.tar.gz"
bioc = "tximeta" bioc = "tximeta"
version( version(

View File

@ -11,7 +11,7 @@ class Phantompeakqualtools(RPackage):
ChIP-seq/DNase-seq/FAIRE-seq/MNase-seq data.""" ChIP-seq/DNase-seq/FAIRE-seq/MNase-seq data."""
homepage = "https://github.com/kundajelab/phantompeakqualtools" homepage = "https://github.com/kundajelab/phantompeakqualtools"
url = "https://github.com/kundajelab/phantompeakqualtools/archive/1.2.tar.gz" urls = ["https://github.com/kundajelab/phantompeakqualtools/archive/1.2.tar.gz"]
version("1.2", sha256="86cbcca80b65f150b1cdbea673d8a47caba88c2db6b3b567a80f2c797c9a1668") version("1.2", sha256="86cbcca80b65f150b1cdbea673d8a47caba88c2db6b3b567a80f2c797c9a1668")

View File

@ -17,7 +17,7 @@ class Qorts(RPackage):
technology.""" technology."""
homepage = "https://github.com/hartleys/QoRTs" homepage = "https://github.com/hartleys/QoRTs"
url = "https://github.com/hartleys/QoRTs/releases/download/v1.2.42/QoRTs_1.2.42.tar.gz" urls = ["https://github.com/hartleys/QoRTs/releases/download/v1.2.42/QoRTs_1.2.42.tar.gz"]
version("1.2.42", sha256="c9f73ce8d5aac1036d13c50475458a61a24cbe5c0baf7ac65b87a7118c51ec08") version("1.2.42", sha256="c9f73ce8d5aac1036d13c50475458a61a24cbe5c0baf7ac65b87a7118c51ec08")

View File

@ -13,7 +13,7 @@ class RBfastspatial(RPackage):
post-process the results.""" post-process the results."""
homepage = "https://github.com/loicdtx/bfastSpatial" homepage = "https://github.com/loicdtx/bfastSpatial"
url = "https://github.com/loicdtx/bfastSpatial/archive/0.6.2.tar.gz" urls = ["https://github.com/loicdtx/bfastSpatial/archive/0.6.2.tar.gz"]
version("0.6.2", sha256="2c6220a5d04d6e4531b0b022a015651e630433f8d6864fa8b820aed5af5c1897") version("0.6.2", sha256="2c6220a5d04d6e4531b0b022a015651e630433f8d6864fa8b820aed5af5c1897")

View File

@ -15,7 +15,6 @@ class RBsgenomeHsapiensUcscHg19(RPackage):
# This is a bioconductor package but there is no available git repo. # This is a bioconductor package but there is no available git repo.
bioc = "BSgenome.Hsapiens.UCSC.hg19" bioc = "BSgenome.Hsapiens.UCSC.hg19"
url = "http://www.bioconductor.org/packages/release/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg19_1.4.0.tar.gz"
version( version(
"1.4.3", "1.4.3",

View File

@ -17,7 +17,7 @@ class RCmdstanr(RPackage):
fewer unexpected crashes in RStudio, and a more permissive license.""" fewer unexpected crashes in RStudio, and a more permissive license."""
homepage = "https://mc-stan.org/cmdstanr/" homepage = "https://mc-stan.org/cmdstanr/"
url = "https://github.com/stan-dev/cmdstanr/archive/refs/tags/v0.5.3.tar.gz" urls = ["https://github.com/stan-dev/cmdstanr/archive/refs/tags/v0.5.3.tar.gz"]
license("BSD-3-Clause") license("BSD-3-Clause")

View File

@ -11,7 +11,7 @@ class RDada2(RPackage):
resolution""" resolution"""
homepage = "https://benjjneb.github.io/dada2/" homepage = "https://benjjneb.github.io/dada2/"
url = "https://github.com/benjjneb/dada2/archive/v1.14.tar.gz" urls = ["https://github.com/benjjneb/dada2/archive/v1.14.tar.gz"]
license("LGPL-3.0-only") license("LGPL-3.0-only")

View File

@ -14,7 +14,7 @@ class RDeseq2(RPackage):
sequencing assays and test for differential expression based on a model sequencing assays and test for differential expression based on a model
using the negative binomial distribution.""" using the negative binomial distribution."""
homepage = "https://bioconductor.org/packages/DESeq2" bioc = "DESeq2"
git = "https://git.bioconductor.org/packages/DESeq2.git" git = "https://git.bioconductor.org/packages/DESeq2.git"
version("1.40.0", commit="c4962c3b16546e552fbc1a712258e4e21ff44241") version("1.40.0", commit="c4962c3b16546e552fbc1a712258e4e21ff44241")

View File

@ -14,7 +14,6 @@ class RDoDb(RPackage):
# There is no git repository for this package. # There is no git repository for this package.
bioc = "DO.db" bioc = "DO.db"
url = "https://www.bioconductor.org/packages/3.5/data/annotation/src/contrib/DO.db_2.9.tar.gz"
version("2.9", sha256="762bcb9b5188274fd81d82f785cf2846a5acc61fad55e2ff8ec1502282c27881") version("2.9", sha256="762bcb9b5188274fd81d82f785cf2846a5acc61fad55e2ff8ec1502282c27881")

View File

@ -13,7 +13,6 @@ class RFdbInfiniummethylationHg18(RPackage):
# This is a bioconductor package but there is no available git repository # This is a bioconductor package but there is no available git repository
bioc = "FDb.InfiniumMethylation.hg18" bioc = "FDb.InfiniumMethylation.hg18"
url = "https://bioconductor.org/packages/release/data/annotation/src/contrib/FDb.InfiniumMethylation.hg18_2.2.0.tar.gz"
version("2.2.0", sha256="4a9028ac03c11fffbab731ea750bc7f9b0884fc43c6a8dac6eb2c644e4c79f6f") version("2.2.0", sha256="4a9028ac03c11fffbab731ea750bc7f9b0884fc43c6a8dac6eb2c644e4c79f6f")

View File

@ -13,7 +13,6 @@ class RFdbInfiniummethylationHg19(RPackage):
# No available git repository # No available git repository
bioc = "FDb.InfiniumMethylation.hg19" bioc = "FDb.InfiniumMethylation.hg19"
url = "https://bioconductor.org/packages/release/data/annotation/src/contrib/FDb.InfiniumMethylation.hg19_2.2.0.tar.gz"
version("2.2.0", sha256="605aa3643588a2f40a942fa760b92662060a0dfedb26b4e4cd6f1a78b703093f") version("2.2.0", sha256="605aa3643588a2f40a942fa760b92662060a0dfedb26b4e4cd6f1a78b703093f")

View File

@ -11,7 +11,6 @@ class RGenomeinfodbdata(RPackage):
in the GenomeInfoDb package.""" in the GenomeInfoDb package."""
bioc = "GenomeInfoDbData" bioc = "GenomeInfoDbData"
url = "https://bioconductor.org/packages/release/data/annotation/src/contrib/GenomeInfoDbData_0.99.0.tar.gz"
version( version(
"1.2.10", "1.2.10",

View File

@ -13,7 +13,6 @@ class RGoDb(RPackage):
Ontology assembled using data from GO.""" Ontology assembled using data from GO."""
bioc = "GO.db" bioc = "GO.db"
url = "https://www.bioconductor.org/packages/release/data/annotation/src/contrib/GO.db_3.4.1.tar.gz"
version( version(
"3.17.0", "3.17.0",

View File

@ -13,7 +13,6 @@ class RHdoDb(RPackage):
assembled using data from DO. Its annotation data comes from assembled using data from DO. Its annotation data comes from
https://github.com/DiseaseOntology/HumanDiseaseOntology/tree/main/src/ontology.""" https://github.com/DiseaseOntology/HumanDiseaseOntology/tree/main/src/ontology."""
url = "https://bioconductor.org/packages/release/data/annotation/src/contrib/HDO.db_0.99.1.tar.gz"
bioc = "HDO.db" bioc = "HDO.db"
version("0.99.1", sha256="c17cf28d06621d91148a64d47fdeaa906d8621aba7a688715fb9571a55f7cf92") version("0.99.1", sha256="c17cf28d06621d91148a64d47fdeaa906d8621aba7a688715fb9571a55f7cf92")

View File

@ -14,7 +14,7 @@ class RIeugwasr(RPackage):
specific queries.""" specific queries."""
homepage = "https://github.com/MRCIEU/ieugwasr" homepage = "https://github.com/MRCIEU/ieugwasr"
url = "https://github.com/MRCIEU/ieugwasr/archive/refs/tags/0.1.5.tar.gz" urls = ["https://github.com/MRCIEU/ieugwasr/archive/refs/tags/0.1.5.tar.gz"]
license("MIT") license("MIT")

View File

@ -14,7 +14,6 @@ class RIlluminahumanmethylation450kannoIlmn12Hg19(RPackage):
# This package is available via bioconductor but there is no available git # This package is available via bioconductor but there is no available git
# repository. # repository.
bioc = "IlluminaHumanMethylation450kanno.ilmn12.hg19" bioc = "IlluminaHumanMethylation450kanno.ilmn12.hg19"
url = "https://bioconductor.org/packages/release/data/annotation/src/contrib/IlluminaHumanMethylation450kanno.ilmn12.hg19_0.6.0.tar.gz"
version( version(
"0.6.1", "0.6.1",

View File

@ -10,7 +10,6 @@ class RIlluminahumanmethylation450kmanifest(RPackage):
"""Annotation for Illumina's 450k methylation arrays.""" """Annotation for Illumina's 450k methylation arrays."""
bioc = "IlluminaHumanMethylation450kmanifest" bioc = "IlluminaHumanMethylation450kmanifest"
url = "https://bioconductor.org/packages/release/data/annotation/src/contrib/IlluminaHumanMethylation450kmanifest_0.4.0.tar.gz"
version("0.4.0", sha256="41b2e54bac3feafc7646fe40bce3aa2b92c10871b0a13657c5736517792fa763") version("0.4.0", sha256="41b2e54bac3feafc7646fe40bce3aa2b92c10871b0a13657c5736517792fa763")

View File

@ -10,7 +10,6 @@ class RIlluminahumanmethylationepicannoIlm10b4Hg19(RPackage):
"""Annotation for Illumina's EPIC methylation arrays.""" """Annotation for Illumina's EPIC methylation arrays."""
bioc = "IlluminaHumanMethylationEPICanno.ilm10b4.hg19" bioc = "IlluminaHumanMethylationEPICanno.ilm10b4.hg19"
url = "https://bioconductor.org/packages/release/data/annotation/src/contrib/IlluminaHumanMethylationEPICanno.ilm10b4.hg19_0.6.0.tar.gz"
version("0.6.0", sha256="2c8128126b63e7fa805a5f3b02449367dca9c3be3eb5f6300acc718826590719") version("0.6.0", sha256="2c8128126b63e7fa805a5f3b02449367dca9c3be3eb5f6300acc718826590719")

View File

@ -10,7 +10,6 @@ class RIlluminahumanmethylationepicmanifest(RPackage):
"""Manifest for Illumina's EPIC methylation arrays.""" """Manifest for Illumina's EPIC methylation arrays."""
bioc = "IlluminaHumanMethylationEPICmanifest" bioc = "IlluminaHumanMethylationEPICmanifest"
url = "https://bioconductor.org/packages/release/data/annotation/src/contrib/IlluminaHumanMethylationEPICmanifest_0.3.0.tar.gz"
version("0.3.0", sha256="e39a69d98486cec981e97c56f45bbe47d2ccb5bbb66a1b16fa0685575493902a") version("0.3.0", sha256="e39a69d98486cec981e97c56f45bbe47d2ccb5bbb66a1b16fa0685575493902a")

View File

@ -14,7 +14,6 @@ class RKeggDb(RPackage):
# NOTE: The KEGG.db package was removed in Bioconductor-3.13 # NOTE: The KEGG.db package was removed in Bioconductor-3.13
bioc = "KEGG.db" bioc = "KEGG.db"
url = "https://www.bioconductor.org/packages/release/data/annotation/src/contrib/KEGG.db_3.2.3.tar.gz"
version( version(
"3.2.4", "3.2.4",

View File

@ -10,7 +10,7 @@ class RLibpressio(RPackage):
"""R package for libpressio""" """R package for libpressio"""
homepage = "https://github.com/robertu94/libpressio-r" homepage = "https://github.com/robertu94/libpressio-r"
url = "https://github.com/robertu94/libpressio-r/archive/0.0.1.tar.gz" urls = ["https://github.com/robertu94/libpressio-r/archive/0.0.1.tar.gz"]
maintainers("robertu94") maintainers("robertu94")

View File

@ -12,7 +12,7 @@ class RMrinstruments(RPackage):
Datasets of eQTLs, GWAS catalogs, etc.""" Datasets of eQTLs, GWAS catalogs, etc."""
homepage = "https://github.com/MRCIEU/MRInstruments" homepage = "https://github.com/MRCIEU/MRInstruments"
url = "https://github.com/MRCIEU/MRInstruments/archive/refs/tags/0.3.3.tar.gz" urls = ["https://github.com/MRCIEU/MRInstruments/archive/refs/tags/0.3.3.tar.gz"]
version("0.3.3", sha256="4ddbaf6335133e8f7baef469d6bc1f89212462b9f4062c9e4ddda37b12eb3486") version("0.3.3", sha256="4ddbaf6335133e8f7baef469d6bc1f89212462b9f4062c9e4ddda37b12eb3486")

View File

@ -13,7 +13,6 @@ class ROrgHsEgDb(RPackage):
Gene identifiers.""" Gene identifiers."""
bioc = "org.Hs.eg.db" bioc = "org.Hs.eg.db"
url = "https://www.bioconductor.org/packages/release/data/annotation/src/contrib/org.Hs.eg.db_3.4.1.tar.gz"
version( version(
"3.17.0", "3.17.0",

View File

@ -13,7 +13,6 @@ class RPfamDb(RPackage):
public repositories.""" public repositories."""
bioc = "PFAM.db" bioc = "PFAM.db"
url = "https://www.bioconductor.org/packages/release/data/annotation/src/contrib/PFAM.db_3.4.1.tar.gz"
version( version(
"3.17.0", "3.17.0",

View File

@ -14,7 +14,7 @@ class RPhantompeakqualtools(RPackage):
package.""" package."""
homepage = "https://github.com/kundajelab/phantompeakqualtools" homepage = "https://github.com/kundajelab/phantompeakqualtools"
url = "https://github.com/kundajelab/phantompeakqualtools/raw/master/spp_1.14.tar.gz" urls = ["https://github.com/kundajelab/phantompeakqualtools/raw/master/spp_1.14.tar.gz"]
version("1.14", sha256="d03be6163e82aed72298e54a92c181570f9975a395f57a69b21ac02b1001520b") version("1.14", sha256="d03be6163e82aed72298e54a92c181570f9975a395f57a69b21ac02b1001520b")

View File

@ -16,7 +16,7 @@ class RTwosamplemr(RPackage):
serious work we strongly recommend using this R package.""" serious work we strongly recommend using this R package."""
homepage = "https://mrcieu.github.io/TwoSampleMR/" homepage = "https://mrcieu.github.io/TwoSampleMR/"
url = "https://github.com/MRCIEU/TwoSampleMR/archive/refs/tags/v0.5.6.tar.gz" urls = ["https://github.com/MRCIEU/TwoSampleMR/archive/refs/tags/v0.5.6.tar.gz"]
license("MIT") license("MIT")

View File

@ -14,7 +14,6 @@ class RTxdbHsapiensUcscHg18Knowngene(RPackage):
# This is a bioconductor package but ther is no available git repo # This is a bioconductor package but ther is no available git repo
bioc = "TxDb.Hsapiens.UCSC.hg18.knownGene" bioc = "TxDb.Hsapiens.UCSC.hg18.knownGene"
url = "https://bioconductor.org/packages/release/data/annotation/src/contrib/TxDb.Hsapiens.UCSC.hg18.knownGene_3.2.2.tar.gz"
version("3.2.2", sha256="bc9ca40b4eab87f5ca64a4b876d42502b9b8e9f5983d745bfe0ee349d97b69fa") version("3.2.2", sha256="bc9ca40b4eab87f5ca64a4b876d42502b9b8e9f5983d745bfe0ee349d97b69fa")

View File

@ -14,7 +14,6 @@ class RTxdbHsapiensUcscHg19Knowngene(RPackage):
# This is a bioconductor package but there is no available git repo. # This is a bioconductor package but there is no available git repo.
bioc = "TxDb.Hsapiens.UCSC.hg19.knownGene" bioc = "TxDb.Hsapiens.UCSC.hg19.knownGene"
url = "https://bioconductor.org/packages/release/data/annotation/src/contrib/TxDb.Hsapiens.UCSC.hg19.knownGene_3.2.2.tar.gz"
version("3.2.2", sha256="063de2b1174782a0b2b8ab7f04a0bdf3c43252cb67c685a9f8ef2b8e318352e9") version("3.2.2", sha256="063de2b1174782a0b2b8ab7f04a0bdf3c43252cb67c685a9f8ef2b8e318352e9")