Comments (9)
Downloading from the Sanger FTP site will not work for directly transferring into the site-packages. You can download the final reference files from ftp://alexandrovlab-ftp.ucsd.edu/pub/tools/SigProfilerMatrixGenerator/[desired_genome].tar.gz using wget or rsync
and then transfer that file into your C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator/references/chromosomes/tsb/ directory. You will then need to unzip the file (see below for all steps):
wget ftp://alexandrovlab-ftp.ucsd.edu/pub/tools/SigProfilerMatrixGenerator/GRCh37.tar.gz
move GRCh37.tar.gz C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator/references/chromosomes/tsb/
tar -xzf C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator/references/chromosomes/tsb/GRCh37.tar.gz -C C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator/references/chromosomes/tsb/
Hope this helps!
from sigprofilerextractor.
What does the full traceback say
from sigprofilerextractor.
What does the full traceback say
It says I do not have the tar.gz file,if that file only exits in linux system?because I use windows system
In [4]: %tb
FileNotFoundError Traceback (most recent call last)
C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator\install.py in install(genome, custom, rsync, bash, ftp)
436 os.system("tar -xzf " + ref_dir + "/references/chromosomes/tsb/" + genome + ".tar.gz -C " + ref_dir + "/references/chromosomes/tsb/")
--> 437 os.remove(ref_dir + "/references/chromosomes/tsb/" + genome + ".tar.gz")
438 except:
FileNotFoundError: [WinError 2] 系统找不到指定的文件。: 'C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator/references/chromosomes/tsb/GRCh37.tar.gz'
During handling of the above exception, another exception occurred:
SystemExit Traceback (most recent call last)
in
----> 1 genInstall.install('GRCh37')
C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator\install.py in install(genome, custom, rsync, bash, ftp)
438 except:
439 print("The ensembl ftp site is not currently responding.")
--> 440 sys.exit()
441 else:
442 print("Direct download for RSYNC is not yet supported")
from sigprofilerextractor.
from sigprofilerextractor.
I'm not sure about windows. The error is saying that ENSEMBL FTP is down, but it seems to be fine. Can you download the file manually and place it in C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator/references/chromosomes/tsb/GRCh37.tar.gz' ?
…
On Wed, Mar 4, 2020 at 12:44 PM XuanYuXu @.***> wrote: What does the full traceback say It says I do not have the tar.gz file,if that file only exits in linux system?because I use windows system In [4]: %tb ------------------------------ FileNotFoundError Traceback (most recent call last) C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator\install.py in install(genome, custom, rsync, bash, ftp) 436 os.system("tar -xzf " + ref_dir + "/references/chromosomes/tsb/" + genome + ".tar.gz -C " + ref_dir + "/references/chromosomes/tsb/") --> 437 os.remove(ref_dir + "/references/chromosomes/tsb/" + genome + ".tar.gz") 438 except: FileNotFoundError: [WinError 2] 系统找不到指定的文件。: 'C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator/references/chromosomes/tsb/GRCh37.tar.gz' During handling of the above exception, another exception occurred: SystemExit Traceback (most recent call last) in ----> 1 genInstall.install('GRCh37') C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator\install.py in install(genome, custom, rsync, bash, ftp) 438 except: 439 print("The ensembl ftp site is not currently responding.") --> 440 sys.exit() 441 else: 442 print("Direct download for RSYNC is not yet supported") — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#16?email_source=notifications&email_token=AALYB7J62IM4AHKW2NV6LBDRFZEJ5A5CNFSM4LBFAWYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENXVJVI#issuecomment-594498773>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALYB7OR7YONFCAJKZAOMT3RFZEJ5ANCNFSM4LBFAWYA .
I'm not sure about windows. The error is saying that ENSEMBL FTP is down, but it seems to be fine. Can you download the file manually and place it in C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator/references/chromosomes/tsb/GRCh37.tar.gz' ?
…
On Wed, Mar 4, 2020 at 12:44 PM XuanYuXu @.***> wrote: What does the full traceback say It says I do not have the tar.gz file,if that file only exits in linux system?because I use windows system In [4]: %tb ------------------------------ FileNotFoundError Traceback (most recent call last) C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator\install.py in install(genome, custom, rsync, bash, ftp) 436 os.system("tar -xzf " + ref_dir + "/references/chromosomes/tsb/" + genome + ".tar.gz -C " + ref_dir + "/references/chromosomes/tsb/") --> 437 os.remove(ref_dir + "/references/chromosomes/tsb/" + genome + ".tar.gz") 438 except: FileNotFoundError: [WinError 2] 系统找不到指定的文件。: 'C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator/references/chromosomes/tsb/GRCh37.tar.gz' During handling of the above exception, another exception occurred: SystemExit Traceback (most recent call last) in ----> 1 genInstall.install('GRCh37') C:\Anaconda3\lib\site-packages\SigProfilerMatrixGenerator\install.py in install(genome, custom, rsync, bash, ftp) 438 except: 439 print("The ensembl ftp site is not currently responding.") --> 440 sys.exit() 441 else: 442 print("Direct download for RSYNC is not yet supported") — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#16?email_source=notifications&email_token=AALYB7J62IM4AHKW2NV6LBDRFZEJ5A5CNFSM4LBFAWYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENXVJVI#issuecomment-594498773>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALYB7OR7YONFCAJKZAOMT3RFZEJ5ANCNFSM4LBFAWYA .
But I do not know where I can dowload that file,did you have that file when you install this package?
from sigprofilerextractor.
from sigprofilerextractor.
I just did a test install on Linux, it seems fine with me. Not too sure about windows either. But if you want to download the reference file, I fairly confident you should download from the following link.
ftp://ngs.sanger.ac.uk/scratch/project/mutographs/SigProf/
As far as I know, the reference is compiled someway and it is not the standard reference file from Ensembl.
Give it a go and let us know what happens.
from sigprofilerextractor.
OK,thanks a lot ,I try downloading that file ,and hope that works .
from sigprofilerextractor.
Thanks a lot ,I try dowloading that file ,and hope it works !
from sigprofilerextractor.
Related Issues (20)
- Infinite loop HOT 1
- Issue with install HOT 2
- ValueError: operands could not be broadcast together with shapes (83,0) (0,0) HOT 3
- Sample filtering before extraction HOT 1
- question about the SigProfilerExtractor HOT 1
- Singularity container creation HOT 5
- Denovo Signature and Assigning Signature Matching Error HOT 1
- Asking for SBS96 contexts in SigProfilerExtractor but receiving CH1000 HOT 1
- New issue with Indels HOT 7
- sigProfilerExtractor for ID(INDELS) HOT 5
- The difference between SBS96_De-Novo_Solution and COSMIC_SBS96_Decomposed_Solution. HOT 3
- IndexError occurred when processing directory /app/output: index out of range HOT 4
- AttributeError: 'NoneType' object has no attribute 'keys' HOT 3
- "Cannot reindex on an axis with duplicate labels"-Error HOT 1
- index error may be caused by non-standard fields or variant type HOT 1
- CPU usage and GPU usage too little, and parameters don't take effect HOT 1
- CPU usage and GPU usage too little HOT 14
- Changelog HOT 1
- Decomposing De Novo Signatures HOT 2
- user defined H_initials and W_initials HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sigprofilerextractor.