GithubHelp home page GithubHelp logo

Comments (9)

ebergstr avatar ebergstr commented on June 17, 2024 1

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.

vellamike avatar vellamike commented on June 17, 2024

What does the full traceback say

from sigprofilerextractor.

XuanYuXu avatar XuanYuXu commented on June 17, 2024

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.

vellamike avatar vellamike commented on June 17, 2024

from sigprofilerextractor.

XuanYuXu avatar XuanYuXu commented on June 17, 2024

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.

vellamike avatar vellamike commented on June 17, 2024

from sigprofilerextractor.

superjw avatar superjw commented on June 17, 2024

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.

XuanYuXu avatar XuanYuXu commented on June 17, 2024

OK,thanks a lot ,I try downloading that file ,and hope that works .

from sigprofilerextractor.

XuanYuXu avatar XuanYuXu commented on June 17, 2024

Thanks a lot ,I try dowloading that file ,and hope it works !

from sigprofilerextractor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.