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

Add IRFinder to list workflows #4

Open
tbrittoborges opened this issue Feb 20, 2020 · 2 comments
Open

Add IRFinder to list workflows #4

tbrittoborges opened this issue Feb 20, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tbrittoborges
Copy link
Member

IRFinder can be found here https://github.com/williamritchie/IRFinder

@tbrittoborges
Copy link
Member Author

How to integrate IR information to the duj?

@boehmv
Copy link
Collaborator

boehmv commented Feb 21, 2020

I have some experience running IRFinder, although I found it not as straight-forward as leafcutter for example. The cool thing is that in the end it is basically the same as DESeq2 (it is used for the statistical tests), just the first steps are different. So maybe we could implement it as a separate "module", next to something like DESeq2?

I know it probably does not help you much, but I drag&dropped the files/codes I used for running IRFinder/DESeq2. I don't know whether this works or if there are better ways to share files? Also, please don't shame me for my amateur programming, it is a very basic and not very flexible script :)

Short explanation:
I have a bash script that defines folders, files, etc. called "Complete_Analysis_Template_paired_V002.sh". This basically runs through STAR, Salmon, DESeq2, ISAR, leafcutter and IRFinder. The IRFinder part starts around lines 489-583.

https://github.com/boehmv/RNAseq/blob/master/Complete_Analysis_Template_paired_V002.sh

There I basically iterate over the BAM files to sort them NOT by coordinate (lines 506-525) and subsequently run IRFinder (527-538).

Then I run DESeq2 on the IRFinder output files, partly by using an R script ("IRFinder.R")

https://github.com/boehmv/RNAseq/blob/master/IRFinder.R

Afterwards I run a python script to combine the IRFinder/DESeq2 output and generate an excel file:

https://github.com/boehmv/RNAseq/blob/master/xlsx_combine_IRFinder.py

Don't know whether all of this helps, it is probably much harder to implement this into the Baltica workflow, since it rather uses snakemake and so on?

@tbrittoborges tbrittoborges self-assigned this Jul 30, 2020
@tbrittoborges tbrittoborges added the enhancement New feature or request label Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants