-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Hi Dr. Axtell,
Thanks for developing this useful software!! I've been attempting to utilize shortstack4.0.3 for both known and de novo miRNA prediction for wheat sRNA data. However, I encountered a ValueError: invalid literal for int() with base 10: ''.
Btw, I am able to run miRNA prediction for the Arabidopsis toy example on shortstack4.0.3, and my wheat sRNA datasets performed well on shortstack3.8.5.
Could you please help me in resolving this issue?
Thank you,
Jo-Wei
======= Below are my output
Beginning run
Options:
{ 'adapter': None,
'align_only': False,
'autotrim': False,
'autotrim_key': 'TCGGACCAGGCTTCATTCCCC',
'bamfile': [ '/home/jhsieh/processed_results/202403_TWG/shortstackv4.0.3/20240424_chrABD/goodDist/merged.bam'],
'dicermax': 24,
'dicermin': 20,
'dn_mirna': True,
'genomefile': '/home/jhsieh/genome/Triticum_aestivum/modifyfromlab/IWGSC2/v1/GenomicSEQ/Original/fasta/iwgsc_refseqv2.1_assembly.fa',
'known_miRNAs': 'tae_known_miRNAs.fasta',
'locifile': None,
'locus': None,
'mincov': 1.0,
'mmap': 'u',
'nohp': False,
'outdir': '/home/jhsieh/processed_results/202403_TWG/shortstackv4.0.3/20240424_chrABD/goodDist_miR3',
'pad': 75,
'readfile': None,
'show_secondaries': False,
'strand_cutoff': 0.8,
'threads': 20}
Required executable RNAfold : /home/jhsieh/miniconda3/envs/ShortStack4/bin/RNAfold
Required executable strucVis : /home/jhsieh/miniconda3/envs/ShortStack4/bin/strucVis
Required executable bowtie : /usr/local/bowtie-1.3.1-linux-x86_64/bowtie
Required executable bowtie-build : /usr/local/bowtie-1.3.1-linux-x86_64/bowtie-build
Required executable samtools : /usr/local/samtools-1.11/bin/samtools
Mon 06 May 2024 12:44:21 -0500 CDT
Defining small RNA clusters de novo
With 411496348 total reads and mincov of 1.0 reads per million, the min read depth is 411
Mon 06 May 2024 13:23:03 -0500 CDT
Analyzing cluster properties using 20 threads
reads processed: 125
reads with at least one alignment: 119 (95.20%)
reads that failed to align: 6 (4.80%)
Reported 43603 alignments
[bam_sort_core] merging from 0 files and 20 in-memory blocks...
Mon 06 May 2024 16:56:59 -0500 CDT
Completed
Mon 06 May 2024 16:56:59 -0500 CDT
Searching for valid microRNA loci
Aligning known_miRNAs sequences to genome
Screening of possible microRNAs from user provided known_miRNAs
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/jhsieh/miniconda3/envs/ShortStack4/lib/python3.12/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
^^^^^^^^^^^^^^^^^^^
File "/home/jhsieh/miniconda3/envs/ShortStack4/lib/python3.12/multiprocessing/pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jhsieh/miniconda3/envs/ShortStack4/bin/ShortStack", line 2359, in mir_analysis
q_exact_count = count_exact_location(bedfields, merged_bam)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jhsieh/miniconda3/envs/ShortStack4/bin/ShortStack", line 2684, in count_exact_location
read_count = int(mb.stdout.rstrip())
^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/jhsieh/miniconda3/envs/ShortStack4/bin/ShortStack", line 3619, in
mir_qdata = mirna(args, merged_bam, fai, pmir_bedfile, read_count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jhsieh/miniconda3/envs/ShortStack4/bin/ShortStack", line 2187, in mirna
user_mloci1 = pool.starmap(mir_analysis,
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jhsieh/miniconda3/envs/ShortStack4/lib/python3.12/multiprocessing/pool.py", line 375, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jhsieh/miniconda3/envs/ShortStack4/lib/python3.12/multiprocessing/pool.py", line 774, in get
raise self._value
ValueError: invalid literal for int() with base 10: ''