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

Manifest #101

Open
stefdecondor31 opened this issue Jan 28, 2022 · 3 comments
Open

Manifest #101

stefdecondor31 opened this issue Jan 28, 2022 · 3 comments

Comments

@stefdecondor31
Copy link

Marc,

I'm trying in vain to import my own manifest (version b5) with methylprep. Can you give me more explanation about this.

BR

Stef L

@willherbert27
Copy link

I am running in to the same issue, also trying to import a version b5 manifest. Downloaded .csv from https://support.illumina.com/downloads/infinium-methylationepic-v1-0-product-files.html. Getting error:

ValueError: Usecols do not match columns, columns expected but not found: ['MAPINFO', 'Color_Channel', 'IlmnID', 'Infinium_Design_Type', 'CHR', 'AddressA_ID', 'AddressB_ID', 'Genome_Build', 'Strand']

Is this manifest format for the b5 versions different than the manifest that is imported from methylprep.files.manifests when I don't include the manifest argument when running from command line? Those columns are present when I open the csv I downloaded from Illumina. Also tried and failed with the .bpm version.

@arogozhnikov
Copy link

same. Default downloaded is v2.

When downloading a reference iscan data from illumina + manifest b5, the system does not work.

@notmaurox
Copy link
Contributor

I believe the quickest way to get around this issue is to overwrite the version of the manifest that MethylPrep downloads into your home directory in a folder called .methylprep_manifest_files.

If you look here: https://github.com/FoxoTech/methylprep/blob/master/methylprep/files/manifests.py
you can see what file name MethylPrep associates with each array type. I think adding your manifest to ~/.methylprep_manifest_files and updating the file name for the array you are using should work.

of course this assumes you clone the repo - change the code - and then pip install the module locally.

If you don't want to go through all these steps, just save your copy of the manifest with the same name as the one that's currently selected by default - effectively overwriting the old contents with the new

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

4 participants