LoReAn icon indicating copy to clipboard operation
LoReAn copied to clipboard

Long reads error (IndexError: list index out of range)

Open sajjadasaf opened this issue 4 years ago • 0 comments

I have run LoReAn on docker but it shows the following error when processing the long reads.

I used the following code

docker run -it --rm -v /home/sajjad/Augustus/config:/opt/LoReAn/third_party/software/augustus/config/ -v $HOME:/home/lorean -v $PWD:/data -u $(id -u ${USER}):$(id -g ${USER}) lfaino/lorean:latest lorean.py -a -sr SRR080722_1.fastq,SRR080722_2.fastq -lr SRR11489943.fastq -pr punica_protein.faa -sp punica P1-2combine-1000.fasta -d -mg -t 32 --keep_tmp

Error

LOREAN SET THE MIN READS SUPPORT FOR A CLUSTER TO 1.0 AUTOMATICALLY

100%|######################################################################| 438/438 [01:06<00:00, 6.54it/s] ###FILTERING ASSEMBLED GENE REGIONS WITH HIGH SUPPORT###

###GENERATE FASTA FILE FROM CONTIGS### ###GENERATE FASTA FILE FROM CONTIGS### ###MAPPING CONSENSUS ASSEMBLIES 16:28:37 10-10 ### ###GMAP MAPPING STARTED AT: 16:28:37 10-10 ### ###BUILD INDEX### GMAP database existed already: /data/LoReAn_annotation/run/gmap_output/P1-2combine-1000.fasta.masked.rename.fasta_GMAPindex --- skipping###MAP### ###GETTING THE STRAND RIGHT 16:28:43 10-10 ### /data/LoReAn_annotation/run/split/P1-2combine-1000.fasta.masked.rename.fasta /data/LoReAn_annotation/run/exonerate/exonerate_step4.final.3wwvaxfo.gff3 Traceback (most recent call last): File "/opt/LoReAn/code/lorean.py", line 610, in main() File "/opt/LoReAn/code/lorean.py", line 568, in main update3_1 = grs.remove_redudant(ref_rename, update2) File "/opt/LoReAn/code/getRightStrand.py", line 873, in remove_redudant fasta = pep_seq(genome, final_evm) File "/opt/LoReAn/code/getRightStrand.py", line 774, in pep_seq t.start = position[0] IndexError: list index out of range

sajjadasaf avatar Oct 10 '20 17:10 sajjadasaf