-
Notifications
You must be signed in to change notification settings - Fork 92
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
SMultiXcan error - No objects to concatenate #129
Comments
@ZhenyaoYe add these arguments |
Dear MetaXcan Team,
Thank you very much for your reply!
Here is the log file after adding arguments --throw and -- verbosity 7. If
you need any additional information, please feel free to let me know. Thank
you very much for your help!
[image: image.png]
Best regards,
Zhenyao
…On Fri, Jul 2, 2021 at 2:39 AM Fnyasimi ***@***.***> wrote:
@ZhenyaoYe <https://github.com/ZhenyaoYe> add these arguments --throw and --
verbosity 7 to your SMultiXcan command and share the log file. I would
like to check what is happening.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#129 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKHF4ANP3ZUDTUHSAN3WE3TTVVNL5ANCNFSM47Q3WR4Q>
.
|
Kindly comment on the github issue with the log file rather than sending an email. I cant see the attachment |
Sorry for bringing any inconvenience to you! Please see below: INFO - Creating context If you need any additional information, please feel free to let me know. Thank you very much for your help! |
I have noted a few issues with your code;
And you want to select Spredixcan results for brain only your input parameters should be like this
I hope this example will help you set up your code and wildcards correctly. If you are stuck share the names of files in your directories for further assistance. |
Thank you very much for your answer! This is really helpful and the problem was solved. Is there any value of the arguments --cutoff_condition_number, --cutoff_threshold, and --cutoff_ratiothat that should be used? I found an example of using 30 for the argument --cutoff_condition_number shown in the link https://github.com/hakyimlab/MetaXcan/wiki/Tutorial:-GTEx-v8-MASH-models-integration-with-a-Coronary-Artery-Disease-GWAS. Thank you very much for your help! |
You can use the --cutoff_condition_number argument with the default cutoff of 30 |
Thank you very much for your help! Really appreciate it.
…On Fri, Jul 9, 2021 at 11:14 AM Fnyasimi ***@***.***> wrote:
You can use the --cutoff_condition_number argument with the default cutoff
of 30
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#129 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKHF4AN3BADEMFT3NHOACVDTW4G6NANCNFSM47Q3WR4Q>
.
|
Dear MetaXcan team!
I am having an issue with SMultiXcan using the elastic net models.
The error I got is "INFO - Unexpected error: No objects to concatenate".
./SMulTiXcan.py --models_folder PrediXcan/elastic_net_models/ --models_name_filter "en_Brain_(.).db" --models_name_pattern "en_Brain_(.).db" --snp_covariance SMulTiXcan/gtex_v8_expression_elastic_net_snp_smultixcan_covariance.txt.gz --metaxcan_folder SMulTiXcan/metaxcan_spredixcan_folder/ --metaxcan_filter "en_Brain_(.)allchr_cpd.csv" --metaxcan_file_name_parse_pattern "en(.).csv" --gwas_folder GWASonCPD/en_gwas/ --gwas_file_pattern *.txt --snp_column SNP --effect_allele_column A1 --non_effect_allele_column A2 --beta_column BETA --pvalue_column P --output SMulTiXcan/en_output_chr/SMultixcan_allchr_cpd.csv
INFO - Creating context
INFO - Creating MetaXcan results manager
INFO - Loading genes
INFO - Context for snp covariance
INFO - Assessing GWAS-Models SNP intersection
INFO - Processing GWAS command line parameters
INFO - Unexpected error: No objects to concatenate
I used spredixcan to generate metaxcan files.
For example,
./SPrediXcan.py --model_db_path PrediXcan/elastic_net_models/en_Brain_Substantia_nigra.db --covariance PrediXcan/elastic_net_models/en_Brain_Substantia_nigra.txt.gz --gwas_folder GWASonCPD/en_gwas/ --gwas_file_pattern ".*txt" --snp_column SNP --effect_allele_column A1 --non_effect_allele_column A2 --beta_column BETA --pvalue_column P --output_file SMulTiXcan/metaxcan_spredixcan_folder/en_Brain_Substantia_nigra_allchr_cpd.csv.
Is it correct? If not, what are metaxcan files, and how to generate them? Because I didn't see the Metaxcan.py script in the "software" directory, which was downloaded from the GitHub MetaXcan.
Any suggestion is appreciated. Thank you very much for your help!
Best regards,
Zhenyao
The text was updated successfully, but these errors were encountered: