Skip to content

Error while creating GTF-File #51

Closed
renewiegandt opened this issue Jan 9, 2019 · 2 comments
Closed

Error while creating GTF-File #51

renewiegandt opened this issue Jan 9, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@renewiegandt
Copy link
Collaborator

I get following error:

  No ActivityTable for T_cells_PB_Roadmap found, generating new one.
  New ActivityTable generated in: /mnt/agnerds/Rene.Wiegandt/repo2/masterJLU2018/bin/3.1_create_gtf/data/EnsemblData/release-95/homo_sapiens/activity/T_cells_PB_Roadmap
  No ActivityTable for T_helper_17_cell found, generating new one.
  New ActivityTable generated in: /mnt/agnerds/Rene.Wiegandt/repo2/masterJLU2018/bin/3.1_create_gtf/data/EnsemblData/release-95/homo_sapiens/activity/T_helper_17_cell
  All ActivityTables found, proceeding
  Categorization: This may take a while

Command error:
  Traceback (most recent call last):
    File "/mnt/agnerds/Rene.Wiegandt/repo2/masterJLU2018/bin/3.1_create_gtf/RegGTFExtractor.py", line 160, in <module>
      main_script(args["organism"], args["wd"], args["dir"],  args["out"], args["tissue"])
    File "/mnt/agnerds/Rene.Wiegandt/repo2/masterJLU2018/bin/3.1_create_gtf/RegGTFExtractor.py", line 126, in main_script
      ense = Ensembl(org, wd, data_dir)
    File "/mnt/agnerds/Rene.Wiegandt/repo2/masterJLU2018/bin/3.1_create_gtf/Modules/Ensembl/Ensembl.py", line 33, in __init__
      self.categorizer = ActivityCategorizer(self.release, organism, wd, data_dir)
    File "/mnt/agnerds/Rene.Wiegandt/repo2/masterJLU2018/bin/3.1_create_gtf/Modules/Ensembl/ActivityCategorizer.py", line 39, in __init__
      self.categorization = self.generate_categorized_activity()
    File "/mnt/agnerds/Rene.Wiegandt/repo2/masterJLU2018/bin/3.1_create_gtf/Modules/Ensembl/ActivityCategorizer.py", line 105, in generate_categorized_activity
      category_activity[category] = self.activity_comparator(aliases)
    File "/mnt/agnerds/Rene.Wiegandt/repo2/masterJLU2018/bin/3.1_create_gtf/Modules/Ensembl/ActivityCategorizer.py", line 127, in activity_comparator
      if any(y[x] == 0 for y in input_arrays):
    File "/mnt/agnerds/Rene.Wiegandt/repo2/masterJLU2018/bin/3.1_create_gtf/Modules/Ensembl/ActivityCategorizer.py", line 127, in <genexpr>
      if any(y[x] == 0 for y in input_arrays):
  IndexError: bytearray index out of range
@renewiegandt renewiegandt added the bug Something isn't working label Jan 9, 2019
@SebastianBeyvers
Copy link
Collaborator

This is because of the new release version of Ensembl (release-95) -> configs should get an update in the next patch

SebastianBeyvers pushed a commit that referenced this issue Jan 10, 2019
…orary fix for #51. needs more improvement of config handling
@SebastianBeyvers
Copy link
Collaborator

This error should only occur for hg38/hg19 because the mouse regulatory build hasn't changed in release-95.

SebastianBeyvers pushed a commit that referenced this issue Jan 10, 2019
Sign in to join this conversation on GitHub.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants