Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctrl_events_ids & reg_events_ids files #2

Open
JamalELH opened this issue Jan 10, 2019 · 6 comments
Open

ctrl_events_ids & reg_events_ids files #2

JamalELH opened this issue Jan 10, 2019 · 6 comments

Comments

@JamalELH
Copy link

Dear Eduardo,

First of all, thank you so much for sharing your expertise with us!

I have a simple question about the two input files used in step A of the anlysis.
these files in this file : MoSEA/test_files/infile/
control_events_chr22.ids
reg_events_chr22.ids

I know that they contain event ids detected by SUPPA, but I just want make sure I correctly understood the difference between them:
Does this file "control_events_chr22.ids" contain all SE events regardless if they are or not significant?
Does the second file "reg_events_chr22.ids" contain regulated SE events found to be significant according to SUPPA pipeline?

if not, could you please clarify what these files are?
Thank you so much in advance!
Respectfully,
Jamal.

@EduEyras
Copy link
Member

EduEyras commented Jan 11, 2019 via email

@JamalELH
Copy link
Author

JamalELH commented Feb 3, 2019

Dear team,

While trying to run the following command to get enrichment results between my two conditions I got the following error:
"Error in parsing: invalid literal for int() with base 10: '0.0'"

my command line was the following:
#Regulated files : Fasta sequences and Motif count table
reg_file_fa=$fafile_reg
reg_file_count="$fafile_reg.tab"

#Control files : Fasta sequences and Motif count table
control_file_fa=$fafile_control
control_file_count="$fafile_control.tab"

#Zscore Output file name
outfile="$path_outdir/zscore_outfile.tab"

#perform enrichment
python2.7 $path/mosea.py enrich --reg_fa_file $reg_file_fa --reg_count_file $reg_file_count
--bg_fa_file $control_file_fa --bg_count_file $control_file_count
--out_file $outfile
As you can see I'm using python2.7, but I'm not sure if I still need to import some library(es) to deal with "0.0" in my input files. Should I modify something within the script of mosea.py?

Thank you so much in advance for your help!
Best regards,
Jamal.

@EduEyras
Copy link
Member

EduEyras commented Feb 8, 2019 via email

@babisingh
Copy link
Contributor

Dear Jamal,

Is it possible to send a dummy version of your files you're using? It will help me to better understand the error. It could be arising due to a non-integer value entered in an integer field.

You can send the files at babita.singh [at] upf [dot] edu

@JamalELH
Copy link
Author

JamalELH commented Feb 8, 2019

Dear Babita,
Thank you for your reply!

I got this error even when I run the analysis on the test files included in the MoSEA algorithm folder. That's why I think it is not related to my files. I will send you a copy of my files in a while in private.

best regards,
Jamal.

@JamalELH
Copy link
Author

JamalELH commented Feb 9, 2019

Dear Eduardo and Babita,
I've discovered the source of the error above ""Error in parsing: invalid literal for int() with base 10: '0.0'". It is happening when I run the enrichment command because it tries to convert a string literal to an int, because in input files I have '0.0' instead of '0', which can't be parsed to an integer because it contains a decimal point and therefore is unparseable as an integer. I will try to fix this and let you know how it goes.

Thank you both again your help!
Cheers,
Jamal.

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

No branches or pull requests

3 participants