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

MIRDEEP2:MIRDEEP2_RUN failed #221

Closed
mianlee opened this issue Feb 2, 2023 · 11 comments
Closed

MIRDEEP2:MIRDEEP2_RUN failed #221

mianlee opened this issue Feb 2, 2023 · 11 comments
Labels
data required question Further information is requested upstream

Comments

@mianlee
Copy link

mianlee commented Feb 2, 2023

Description of the bug

Dear authors:

The pipeline works fine except for Mirdeep2. It shows MIRDEEP2:MIRDEEP2_RUN failed. I checked all my files and parameters, but I can't solve this issue. Do you what can cause this error? Thank you so much!
屏幕截图 2023-02-02 215516

Command used and terminal output

nextflow run smrnaseq/ --input samplesheet.csv \
--mirna_gtf /home/mli/Desktop/miRNA_Analysis/miRNA_files/hsa.gff3 \
--mature /home/mli/Desktop/miRNA_Analysis/miRNA_files/mature.fa.gz \
--hairpin /home/mli/Desktop/miRNA_Analysis/miRNA_files/hairpin.fa.gz \
--fasta /home/mli/Desktop/miRNA_Analysis/reference/GRCh38.fa \
--bowtie_index /home/mli/Desktop/miRNA_Analysis/reference/GRCh38 \
--mirtrace_species hsa \
--genome GRCh38 \
-profile docker --outdir results

Relevant files

No response

System information

CentOS 7 linux
HPC

@mianlee mianlee added the bug Something isn't working label Feb 2, 2023
@apeltzer
Copy link
Member

apeltzer commented Feb 8, 2023

Can you share more information, e.g. logfiles of MIRDEEP2 ?

@apeltzer apeltzer added this to the Release 2.1.1 Patch milestone Feb 17, 2023
@apeltzer
Copy link
Member

HI @mianlee - we need more details to be able to address this issue. I cannot reproduce at the moment using the testdata. Ideally, please share the details for the failing step, e.g. .command.log and .command.err from the MIRDEEP2 step that fails. I will postpone this for a later release if I dont get a response by then :-)

@apeltzer apeltzer modified the milestones: Release 2.2.0, 2.2.1 Feb 21, 2023
@VojtechBarton
Copy link

Hi, I have run into the similar problem. 3 of my 48 samples failed on MIRDEEP2_RUN with the same message.
Going through the logs, and all of them have one thing in common. It all yield "No precursors excised" message in .command.log file.


#####################################
#                                   #
# miRDeep2.0.1.3                   #
#                                   #
# last change: 08/11/2019           #
#                                   #
#####################################

miRDeep2 started at 11:37:14


#Starting miRDeep2
/usr/local/bin/miRDeep2.pl POP6_28d_BAL_B_collapsed.fa genome.edited.fa POP6_28d_BAL_B_reads_vs_refdb.arf mature.fa_igenome.fa_idx.fa none hairpin.fa_igenome.fa_idx.fa -d -z _POP6_28d_BAL_B_collapsed

miRDeep2 started at 11:37:14


mkdir mirdeep_runs/run_23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed

#Starting miRDeep2
#testing input files
started: 11:37:35
sanity_check_mature_ref.pl mature.fa_igenome.fa_idx.fa

#testing input files

ended: 11:37:35
total:0h:0m:0s

sanity_check_reads_ready_file.pl POP6_28d_BAL_B_collapsed.fa

started: 11:37:35

ended: 11:37:35
total:0h:0m:0s

started: 11:37:35
sanity_check_genome.pl genome.edited.fa


ended: 11:37:57
total:0h:0m:22s

started: 11:37:57
sanity_check_mapping_file.pl POP6_28d_BAL_B_reads_vs_refdb.arf


ended: 11:37:57
total:0h:0m:0s

started: 11:37:57
sanity_check_mature_ref.pl hairpin.fa_igenome.fa_idx.fa


ended: 11:37:57
total:0h:0m:0s

started: 11:37:57
Quantitation of expressed miRNAs in data


quantifier.pl -p hairpin.fa_igenome.fa_idx.fa -m mature.fa_igenome.fa_idx.fa  -r POP6_28d_BAL_B_collapsed.fa   -y 23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed -k -d 
#Quantitation of known miRNAs in data
getting samples and corresponding read numbers

Converting input files
building bowtie index
mapping mature sequences against index
mapping read sequences against index
Mapping statistics

#desc	total	mapped	unmapped	%mapped	%unmapped
total: 20566	0	20566	0.000	100.000
seq: 20566	0	20566	0.000	100.000
analyzing data
Expressed miRNAs are written to expression_analyses/expression_analyses_23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed/miRNA_expressed.csv
    not expressed miRNAs are written to expression_analyses/expression_analyses_23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed/miRNA_not_expressed.csv

Creating miRBase.mrd file

make_html2.pl -q expression_analyses/expression_analyses_23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed/miRBase.mrd -k mature.fa_igenome.fa_idx.fa -y 23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed -d -o -i expression_analyses/expression_analyses_23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed/mature.fa_igenome.fa_idx.fa_mapped.arf    -M miRNAs_expressed_all_samples_23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed.csv  
miRNAs_expressed_all_samples_23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed.csv file with miRNA expression values
parsing miRBase.mrd file finished

ended: 11:37:59
total:0h:0m:2s

started: 11:37:59
rna2dna.pl mature.fa_igenome.fa_idx.fa > mirdeep_runs/run_23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed/tmp/mature.fa_igenome.fa_idx.fa

rna2dna.pl hairpin.fa_igenome.fa_idx.fa > mirdeep_runs/run_23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed/tmp/hairpin.fa_igenome.fa_idx.fa


ended: 11:37:59
total:0h:0m:0s

#parsing genome mappings
parse_mappings.pl POP6_28d_BAL_B_reads_vs_refdb.arf -a 0 -b 18 -c 25 -i 5 > mirdeep_runs/run_23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed/tmp/POP6_28d_BAL_B_reads_vs_refdb.arf_parsed.arf

started: 11:37:59
#parsing genome mappings

ended: 11:37:59
total:0h:0m:0s

#excising precursors
started: 11:37:59
excise_precursors_iterative_final.pl genome.edited.fa mirdeep_runs/run_23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed/tmp/POP6_28d_BAL_B_reads_vs_refdb.arf_parsed.arf mirdeep_runs/run_23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed/tmp/precursors.fa mirdeep_runs/run_23_06_2023_t_11_37_14_POP6_28d_BAL_B_collapsed/tmp/precursors.coords 50000
#excising precursors
1	0

ended: 11:38:08
total:0h:0m:9s

No precursors excised

**********************************************************************************************************

@bounlu
Copy link

bounlu commented Aug 29, 2023

I have the same issue that part of my samples fail with miRDeep2 with the same error: No precursors excised

@mschilli87
Copy link

Without a small(!) sharable dataset (and exact miRDeep2 command) that reproduces the error even @Drmirdeep will have a hard time troubleshooting this. Also please note that even though you see the same error message (i.e. 'symptoms'), the underlying cause might be different.

@apeltzer apeltzer removed this from the 2.2.2 milestone Sep 1, 2023
@apeltzer
Copy link
Member

apeltzer commented Sep 1, 2023

I unmilestoned this as this requires further data to support finding a potential cause of the issue. Fully agree with what @mschilli87 said - if you could/can share a small dataset that can be used to track down the issue, please share :)

@apeltzer apeltzer added question Further information is requested upstream data required and removed bug Something isn't working labels Sep 1, 2023
@TOCEAN-ops
Copy link

TOCEAN-ops commented Dec 8, 2023

I had the same problem, No precursors excised This is my code

miRDeep2.pl reads_collapsed.fa Oryza_sativa.fa reads_collapsed_vs_genome.arf osa_mature.fa osa_hairpin.fa none -t osa -g -1 2>report.log

How do you solve it? Thank you very much

@mschilli87

This comment was marked as duplicate.

@TOCEAN-ops
Copy link

TOCEAN-ops commented Dec 8, 2023 via email

@apeltzer
Copy link
Member

apeltzer commented Feb 5, 2024

Should work in dev

@apeltzer apeltzer closed this as completed Feb 5, 2024
@Drmirdeep
Copy link

Drmirdeep commented Feb 5, 2024

Ok. 0 reads mapped. Why is anyone surprised here that no precursors were excised? The tool cannot be more verbose. But maybe it should directly abort in this case 🤷🏼‍♂️

nschcolnicov pushed a commit that referenced this issue Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data required question Further information is requested upstream
Projects
None yet
Development

No branches or pull requests

7 participants