You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [1]: import pyGeno.bootstrap as B
In [2]: B.importSNPs("GRCh38p7_dbSNP149_common_all.tar.gz")
Importing polymorphism set: /u/eaudemard/dev/pyGeno/pyGeno/bootstrap_data/SNPs/GRCh38p7_dbSNP149_common_all.tar.gz... (This may take a while)
Downloading file: ftp://ftp.ncbi.nih.gov/snp/organisms/human_9606_b149_GRCh38p7/VCF/common_all_20161122.vcf.gz...
done.
---------------------------------------------------------------------------
FutureWarning Traceback (most recent call last)
<ipython-input-2-e9741c79a81d> in <module>()
----> 1 B.importSNPs("GRCh38p7_dbSNP149_common_all.tar.gz")
/u/eaudemard/dev/pyGeno/pyGeno/bootstrap.pyc in importSNPs(name)
108 """Import a SNP set shipped with pyGeno. Most of the datawraps only contain URLs towards data provided by third parties."""
109 path = os.path.join(this_dir, "bootstrap_data", "SNPs/" + name)
--> 110 PS.importSNPs(path)
/u/eaudemard/dev/pyGeno/pyGeno/importation/SNPs.pyc in importSNPs(packageFile)
69 return _importSNPs_AgnosticSNP(setName, species, genomeSource, snpsFile)
70 else :
---> 71 raise FutureWarning('Unknown SNP type in manifest %s' % typ)
72 else :
73 raise KeyError("There's already a SNP set by the name %s. Use deleteSNPs() to remove it first" %setName)
FutureWarning: Unknown SNP type in manifest dbSNP
here the manifest.ini:
[package_infos]
description = SNP set for dbSNP149 that contains only common SNP. For more details: http://www.ncbi.nlm.nih.gov/variation/docs/human_variation_vcf/
maintainer = Eric Audemard
maintainer_contact = [email protected]
version = 1
[set_infos]
species = human
name = GRCh38p7_dbSNP149_common_all
type = dbSNP
source = ftp://ftp.ncbi.nih.gov/snp/organisms/human_9606_b149_GRCh38p7/VCF/common_all_20161122.vcf.gz
[snps]
filename = ftp://ftp.ncbi.nih.gov/snp/organisms/human_9606_b149_GRCh38p7/VCF/common_all_20161122.vcf.gz
The text was updated successfully, but these errors were encountered:
ericloud
added a commit
to ericloud/pyGeno
that referenced
this issue
Mar 22, 2017
Below the error message:
here the manifest.ini:
The text was updated successfully, but these errors were encountered: