Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Updated the get-transcript-info.R file and its dependencies #73

Merged
merged 156 commits into from
Jun 14, 2023

Conversation

manuelphilip
Copy link
Collaborator

No description provided.

johanneskoester and others added 30 commits June 2, 2022 12:05
Added heatmap and QC plot to report.html
Co-authored-by: Johannes Köster <johannes.koester@tu-dortmund.de>
Co-authored-by: Johannes Köster <johannes.koester@tu-dortmund.de>
Co-authored-by: Johannes Köster <johannes.koester@tu-dortmund.de>
Co-authored-by: Johannes Köster <johannes.koester@tu-dortmund.de>
workflow/scripts/get-transcript-info.R Outdated Show resolved Hide resolved
workflow/scripts/get-transcript-info.R Outdated Show resolved Hide resolved
workflow/scripts/get-transcript-info.R Outdated Show resolved Hide resolved
Copy link
Contributor

@johanneskoester johanneskoester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good, looks much cleaner now! Some further comments below.

workflow/scripts/get-transcript-info.R Show resolved Hide resolved
workflow/scripts/get-transcript-info.R Outdated Show resolved Hide resolved
Comment on lines 124 to 133
if (three_prime_activated && has_mane_select) {
t2g <- t2g %>%
filter(!str_detect(chromosome_name, "patch|PATCH")) %>%
filter(str_detect(transcript_mane_select, ""))
}else if (three_prime_activated && !has_mane_select) {
stop(
str_c(
"needed mane_selected column in biomart if three prime mode is activated"
))
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be written in a much simpler way. First check for only three_prime_activated, and in that if handle both cases about has_mane_select or not.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted. Thank you pointing it. Updated the code.

@johanneskoester johanneskoester merged commit e44d424 into main Jun 14, 2023
6 checks passed
@johanneskoester johanneskoester deleted the 3-prime-rna branch June 14, 2023 18:11
johanneskoester pushed a commit that referenced this pull request Jun 14, 2023
🤖 I have created a release *beep* *boop*
---


##
[2.5.1](v2.5.0...v2.5.1)
(2023-06-14)


### Bug Fixes

* Updated the get-transcript-info.R file and its dependencies
([#73](#73))
([e44d424](e44d424))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants