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

Mutational Signatures: create a Docker image for this, and push to Dockerhub #58

Closed
evanbiederstedt opened this issue Mar 20, 2019 · 6 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@evanbiederstedt
Copy link
Contributor

No description provided.

@evanbiederstedt evanbiederstedt added the enhancement New feature or request label Mar 20, 2019
@kpjonsson
Copy link
Member

From this: https://github.com/mskcc/mutation-signatures

Should be run on the final somatic MAF file.

@kpjonsson
Copy link
Member

To be specific:

python make_trinuc_maf.py input.maf input.trinuc.maf && \
python main.py Stratton_signatures30.txt input.trinuc.maf input.mutsig.txt

@evanbiederstedt
Copy link
Contributor Author

@hweej nailed it, give the guy a raise people

https://hub.docker.com/r/cmopipeline/mutation-signatures

@evanbiederstedt evanbiederstedt added this to the 0.8.0 milestone Apr 23, 2019
@sivkovic sivkovic mentioned this issue Apr 23, 2019
@evanbiederstedt
Copy link
Contributor Author

evanbiederstedt commented May 6, 2019

In psuedo-code, here’s what it does is:

  1. check to see if the maf inputted has the string ‘trinuc’ in it. If not, run the trinuc command on the maf and save the path to the outputted file
  2. run the “mutational signatures script” (main.py) on the maf with trinuc information (edited)
    The first command is:
    python make_trinuc_maf.py 'path/to/maf' 'path/to/output/maf/withTrinuc'
    The output is:
    'path/to/output/maf/withTrinuc'
    The second command is python main.py 'path/to/Stratton_signatures30.txt' 'path/to/maf/annotated/withTrinuc' 'path/to/output'
    I suggest we ignore the --spectrum and --spectrum_output

EDIT: MAFs output from the pipeline always need to be processed through python make_trinuc_maf.py

@kpjonsson
Copy link
Member

More precisely, the make_trinuc_maf.py script adds the column Ref_Tri to the MAF and that is the column the main.py script uses.

@evanbiederstedt
Copy link
Contributor Author

More precisely, the make_trinuc_maf.py script adds the column Ref_Tri to the MAF and that is the column the main.py script uses.

Right! I should also clarify that the MAFs output from the pipeline always need to be processed through python make_trinuc_maf.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants