epi2me-labs / wf-transcriptomes

Other
71 stars 31 forks source link

Which references to use to assure compatibility with JAFFAL #53

Closed mdhitch closed 4 months ago

mdhitch commented 8 months ago

Ask away!

I am running into an issue where by various references I am using do not appear to be compatible with the JAFFAL stage of the workflow. As such, the analysis stops with an error. I believe it is reference related, because this occurs if I use the demo data but supplying the human hg38 references I have downloaded (I have tried Encode, Ensembl and NCBI version), alas they all fail. However the chr20 references supplied within the demo data work for the demo fastqs.

Any help would be very much appreciated.

Matt

sarahjeeeze commented 8 months ago

Hi, do you have the error message that is output?

mdhitch commented 8 months ago

hi,

Would the following do?

N E X T F L O W ~ version 23.04.2 Launching/Users/MDH 1/epi2melabs/workflows/epi2me-labs/wf-transcriptomes/main.nf[inspiring_franklin] DSL2 - revision: 0b8606d864 |||||||||| _____ ____ ___ ____ __ __ _____ _ _ |||||||||| | ____| _ \_ _|___ \| \/ | ____| | | __ _| |__ ___ ||||| | _| | |_) | | __) | |\/| | _| _____| |/ _ | ' \/ | ||||| | || /| | / /| | | | ||_| | (| | |) \ \ |||||||||| |_|_| |_|___|| ||| ||\,|._/|/ |||||||||| wf-transcriptomes v1.0.0

Core Nextflow options runName : inspiring_franklin containerEngine: docker launchDir : /Users/MDH 1/epi2melabs/instances/wf-transcriptomes_01HKYZMDR881B7YQKCA6A9600W workDir : /Users/MDH 1/epi2melabs/instances/wf-transcriptomes_01HKYZMDR881B7YQKCA6A9600W/work projectDir : /Users/MDH 1/epi2melabs/workflows/epi2me-labs/wf-transcriptomes userName : MDH 1 profile : standard configFiles : /Users/MDH 1/epi2melabs/workflows/epi2me-labs/wf-transcriptomes/nextflow.config Input Options fastq : /Users/MDH 1/epi2melabs/demo/epi2me-labs/wf-transcriptomes/v1.0.0/wf-transcriptomes-demo/differential_expression_fastq ref_genome : /Volumes/MDH_Ext_HD/JAFFA_REFERENCE_FILES_HG38_GENCODE22.V2/hg38.fa ref_annotation : /Users/MDH 1/epi2melabs/demo/epi2me-labs/wf-transcriptomes/v1.0.0/wf-transcriptomes-demo/Homo_sapiens.GRCh38.109.gtf direct_rna : true Output Options out_dir : /Users/MDH 1/epi2melabs/instances/wf-transcriptomes_01HKYZMDR881B7YQKCA6A9600W/output Sample Options sample_sheet : /Users/MDH 1/epi2melabs/demo/epi2me-labs/wf-transcriptomes/v1.0.0/wf-transcriptomes-demo/sample_sheet.csv Gene Fusion Detection Options jaffal_refBase : /Volumes/MDH_Ext_HD/JAFFA_REFERENCE_FILES_HG38_GENCODE22.V2 Differential Expression Options de_analysis : true !! Only displaying parameters that differ from the pipeline defaults !!

If you use epi2me-labs/wf-transcriptomes for your analysis please cite:

As a note, just running some demos locally, I initially had the issue with my own data so sought to use some example data. In the following the JAFFAL references were downloaded as suggested and I used the JAFFAL supplied reference genome. On this occasion I have used a GTF file from the EPI2ME-LABS demo directory, however I have tried very many alternatives each with the same issue. It is not a machine issue as it is repeated on a few machines I have used. I have also tried generating my own JAFFAL according to https://github.com/Oshlack/JAFFA/wiki/FAQandTroubleshooting#how-can-i-generate-the-reference-files-for-a-non-supported-genome but no luck.

The pipeline works fine when using all the demo data and the EPI2ME-LABS demo JAFFAL files. And indeed when not using Gene Fusion Detection.

Many thanks for your help and support in advance.

Matt

nrhorner commented 8 months ago

Hi @mdhitch

It looks like your process is running out memory. I need update the process to assign more memory to it. In the meantime you can set the memory available to the JAFFAL process by doing the following:

Create a file, lets call it mem.config, with the following contents

process {
    withName: jaffal {
        memory = 16.GB
    }
}

Then refer to this file in you comamnd like so:

`nextflow run epi2me-labs/wf-transcriptomes -c mem.config ...```

Please get back in touch if this does not work for you

Thanks,

Neil

mdhitch commented 8 months ago

Thanks Neil

nrhorner commented 8 months ago

Hi @mdhitch

Did you get a chance to try out my suggestion?

mdhitch commented 8 months ago

Hi @nrhorner, sorry for the belated reply, since I managed to get all outputs (minus Jaffal) I haven't yet gone back to it. Will do soon so shall attempt then, possibly with more memory than 16GB.

I will let you know how it goes.

Thanks

Matt

sarahjeeeze commented 4 months ago

Closing through lack of response, assuming it worked. Feel free to re-open if not.