Skip to content

Error running panphlan_map #20

Description

@sanpande

Hi, Is the tool still being maintained? I get the following error, any idea what is causing it?

[mpileup] 1 samples in 1 input files
Set max per-file depth to 8000
[I] Bowtie2 is installed
version: 2.4.2, path: /path_to/panphlan3/bin/bowtie2
[I] Samtools version 1.7; path: /path_to/panphlan3/bin/samtools
[I] bowtie2 --very-sensitive --no-unal -x ../Escherichia_coli/Escherichia_coli -U /path_to/set1.fastq -p 12 --quiet
[I] Rejected 0 reads over 767680 total
Bowtie2 mapping and SAM filtering completed.
[I] Samtools version 1.7; path: /path_to/panphlan3/bin/samtools
[I] samtools view -bS /tmp/panphlan_4v2u5r8r.sam
[I] samtools index /tmp/panphlan_d1xyemzq.bam
[I] samtools mpileup /tmp/panphlan_d1xyemzq.bam > /tmp/panphlan_w96kyqix.csv
Traceback (most recent call last):
File "/path_to/panphlan3/bin/panphlan_map.py", line 397, in
main()
File "/path_to/panphlan3/bin/panphlan_map.py", line 391, in main
genes_abundances(tmp_csv.name, contig2gene, args)
File "/path_to/panphlan3/bin/panphlan_map.py", line 340, in genes_abundances
contig, position, abundance = words[0], int(words[1]), int(words[3])
IndexError: list index out of range

Thank you
sp

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions