Skip to content

allow expfile_downstream file to have different gene names than expfile_upstream#18

Open
MiqG wants to merge 2 commits into
califano-lab:masterfrom
MiqG:master
Open

allow expfile_downstream file to have different gene names than expfile_upstream#18
MiqG wants to merge 2 commits into
califano-lab:masterfrom
MiqG:master

Conversation

@MiqG

@MiqG MiqG commented Mar 5, 2023

Copy link
Copy Markdown

As I was playing around with ARACNe-AP, I was getting the following error because the gene names in expfile_downstream did not match expfile_upstream:

Exception in thread "main" java.lang.NullPointerException
        at aracne.MI.<init>(Unknown Source)
        at aracne.Aracne.runAracne(Unknown Source)
        at aracne.Aracne.main(Unknown Source)

Looking at the code, I realized this information was only used here to get the number of samples.

I made a little workaround and it worked! :)

Miquel

@MiqG

MiqG commented Mar 6, 2023

Copy link
Copy Markdown
Author

I have realized that the tfList variable was being filtered by the gene variable obtained from the expfile_downstream instead leading to emptying the list if the names did not coincide. So, I specified it to use the temporary variable gene1 which corresponds to the genes in expfile_upstream

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant