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

One file missing #2

Open
julgrandvallet opened this issue Aug 18, 2023 · 0 comments
Open

One file missing #2

julgrandvallet opened this issue Aug 18, 2023 · 0 comments

Comments

@julgrandvallet
Copy link

Description:

While following the workflow provided in the repository, I'm encountering an issue where I cannot find the file GTEx_counts_Marginal_Outliers.csv which causes the subsequent Python script to fail.

Steps to Reproduce:

  1. Set up the environment using the provided conda commands.
  2. Set the necessary directories and paths.
  3. Download data using the wget commands and gunzip them.
  4. Run the R command to render the GTEx_data_preparation.Rmd.
  5. Observe that GTEx_counts_Marginal_Outliers.csv file is not generated.

Environment:

Operating System: Pop!_OS 22.04 LTS (Ubuntu based)
R Version: 4.3.1 (2023-06-16) -- "Beagle Scouts"
Python Version: Python 3.9.13
Conda Version: conda 22.9.0

Additional Information:

I have verified that all wget commands ran successfully and all necessary files were downloaded. All paths and directories were set as instructed.

Temporary Solution:

To obtain the missing GTEx_counts_Marginal_Outliers.csv file, I followed these steps in R:

# Read the .RDS file
data <- readRDS("GTEx_counts_Marginal_Outliers.RDS")

# Extract the counts matrix
counts_matrix <- assay(data, "counts")

# Save the matrix as a .csv file
write.csv(counts_matrix, "GTEx_counts_Marginal_Outliers.csv", row.names = TRUE)

Ps: I'm sorry for that first Issue, uploaded it wrongly. Thank you all.

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

1 participant