Comments (3)
It's complaining about memory....
Just a thought, you may try the xgboost algorithm in the latest version. XGBoost is orders of magnitudes faster and uses less memory than the original AdaBoost implemented in R.
So if you install the latest SomaticSeq, you can train for xgboost model from your labeled TSV files (yes, it can take multiple tsv files and will combine them automatically):
somatic_xgboost.py train -tsvs sample_1/Ensemble.sSNV.tsv sample_2/Ensemble.sSNV.tsv.... -out SNV.xgboost.classifier -threads 14
To use that classifier on new data:
somatic_xgboost.py predict -tsv Ensemble.sSNV.tsv -model SNV.xgboost.classifier -out Predicted.sSNV.tsv
To see different CLI options: somatic_xgboost.py train -h
or somatic_xgboost.py predict -h
.
Then, if you want to convert that into VCF file:
SSeq_tsv2vcf.py -tsv Predicted.sSNV.tsv -vcf Predicted.sSNV.vcf -tools [FILL IN ALL THE TOOLS YOU USED] -all -phred -paired
.
from somaticseq.
For xgboost training, you may also pass any of the xgboost training parameters as described here by passing them into the program using this format: --extra-params max_leaves:8 max_bin:16
, etc.
from somaticseq.
Hi, thanks for the suggestion. For now I increased the memory allocation and the first failed sample completed. Eventually, I will try xgboost as well. Thanks
from somaticseq.
Related Issues (20)
- Special setting for b37? HOT 14
- Question about simulating somatic mutations HOT 7
- Pretrained Classifier HOT 3
- Docker issue with latest version HOT 1
- SEQC2: Some high confidence SNVs and INDELs in VCF are outside of regions defined by High-Confidence_Regions_v1.2.bed HOT 2
- Somaticseq makeSomaticScripts.py running and output issues HOT 8
- Slow RNA variant calling HOT 8
- Question for the paper on establishing the reference call set HOT 3
- Where are the 10x Genomics single-cell copy number variation (CNV) analysis results? HOT 7
- Ground Truths required for training HOT 1
- somaticseq failing for same command it had previously successfully run HOT 11
- Applying internal filters to outputs before running SomaticSeq HOT 1
- Dockerized alignment workflow does not work with multiple input files HOT 5
- Error when running makeSomaticScripts with multiple threads HOT 3
- Output allele of the normal sample HOT 2
- UnboundLocalError: cannot access local variable 'normal_name' where it is not associated with a value HOT 10
- how to obtain all variants where the "FILTER" column is not labeled as "PASS" HOT 1
- Are multi-nucleotide and complex variants ignored? HOT 2
- Error when running FFPE training data from SEQ2C HOT 5
- AI consensus calling error on WGS samples HOT 9
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 somaticseq.