Skip to content

Commit

Permalink
bump container
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrech committed Jul 6, 2022
1 parent 8e1ad27 commit 42eb1ea
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 34 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: antigen.garnish
Title: Tumor neoantigen prediction
Version: 2.3.0
Version: 2.3.1
Authors@R:
c(person(given = c("Lee", "P."),
family = "Richman",
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# antigen.garnish 2.3.1

Bugfix:

- errors parsing rare MHCII alleles for netMHC tools

# antigen.garnish 2.3.0

Bugfix:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ Two methods exist to run `antigen.garnish`:
### Docker

```sh
docker pull andrewrech/antigen.garnish:2.3.0
docker pull andrewrech/antigen.garnish:2.3.1

cID=$(docker run -it -d andrewrech/antigen.garnish:2.3.0 /bin/bash)
cID=$(docker run -it -d andrewrech/antigen.garnish:2.3.1 /bin/bash)
```

[Download](https://services.healthtech.dtu.dk/software.php) netMHC binaries (academic license): NetMHC 4.0, NetMHCpan 4.1b, NetMHCII 2.3, NetMHCIIpan 4.0.
Expand Down
Binary file added antigen.garnish.pdf
Binary file not shown.
29 changes: 0 additions & 29 deletions inst/extdata/src/antigen.garnish.flowchart.R

This file was deleted.

4 changes: 2 additions & 2 deletions inst/extdata/src/antigen.garnish_transcript_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ make_refseq_db <- function(txt) {
1:length(l) %>% lapply(function(i) {
print(i)
ids <- l[[i]] %>% paste(collapse = ",")
glue::glue("http 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id={ids}&retmode=xml' > rs{i}.xml") %>% system()
paste0("http 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=", ids, "&retmode=xml' > rs", i, ".xml") %>% system()
})

# extract RefSeq IDm cDNA, and peptide sequence from .xml
Expand All @@ -140,7 +140,7 @@ make_refseq_db <- function(txt) {

sub <- x %>%
# move to sequence record ancestor corresponding to transcript ID
xml2::xml_find_all(glue::glue("//GBSeq_accession-version[text()='{id}']/ancestor::GBSeq"))
xml2::xml_find_all(paste0("//GBSeq_accession-version[text()='", id, "']/ancestor::GBSeq"))

peptide <- sub %>%
# find translation entry
Expand Down

0 comments on commit 42eb1ea

Please sign in to comment.