SchulzLab/Aeron

loose fusions rule error

f0t1h opened this issue · 1 comments

f0t1h commented

I am getting the following error when running fusion snakemake.

rule loose_fusions:                                                                                                                       
    input: fusiontmp/exactparsematrix_sim21_22_Homo-sapiens-GRCh38-cdna-all_GRCh38-97.txt                                                 
    output: fusiontmp/loose_gene_fusion_sim21_22_Homo-sapiens-GRCh38-cdna-all_GRCh38-97.txt                                               
    jobid: 12                                                                                                                             
    wildcards: reads=sim21_22, transcripts=Homo-sapiens-GRCh38-cdna-all, graph=GRCh38-97                                                  
                                                                                                                                          
AeronScripts/pairmatrix_get_genes.py < fusiontmp/exactparsematrix_sim21_22_Homo-sapiens-GRCh38-cdna-all_GRCh38-97.txt > fusiontmp/loose_getxt
Traceback (most recent call last):
  File "AeronScripts/pairmatrix_get_genes.py", line 13, in <module>
    lgene = generegex.search(parts[0]).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

I ran into the same error, does anyone have a solution?