Comments (4)
It should be a text file with each VCF filepath on a separate line. here's an example showing merging in batches of 200 samples, and finally into a VCF of the whole cohort
pwd
# /gscmnt/gc2719/halllab/users/cchiang/dev/vcf_paste_2016-01-04
wc -l /gscmnt/gc2802/halllab/sv_aggregate/merge/re-GT/all.cn.txt
# 4907 /gscmnt/gc2802/halllab/sv_aggregate/merge/re-GT/all.cn.txt
mkdir -p split
split -a 2 -d -l 200 /gscmnt/gc2802/halllab/sv_aggregate/merge/re-GT/all.cn.txt split/spl
# 2 hour 2 min
# commit (svtyper): 2b24a61503eab8274d659e70da357030614c9727
for FILE in `ls split`
do
bomb -m 8 "/gscmnt/gc2719/halllab/users/cchiang/src/svtyper/scripts/vcf_paste.py -q -f split/$FILE | gzip -c > $FILE.vcf.gz"
done
ls spl*.vcf.gz > batch_paste.txt
bomb -m 1 "/gscmnt/gc2719/halllab/users/cchiang/src/svtyper/scripts/vcf_paste.py -q -f batch_paste.txt | bgzip -c > final.vcf.gz"
from svtools.
Ah. So -f expects a FILE of files, not a list of files (as the usage
states).
On Fri, Feb 12, 2016 at 11:15 AM, Colby Chiang [email protected]
wrote:
should work with each VCF filepath on a separate line. here's an example
showing merging in batches of 200 samples, and finally into a VCF of the
whole cohortpwd# /gscmnt/gc2719/halllab/users/cchiang/dev/vcf_paste_2016-01-04
wc -l /gscmnt/gc2802/halllab/sv_aggregate/merge/re-GT/all.cn.txt# 4907 /gscmnt/gc2802/halllab/sv_aggregate/merge/re-GT/all.cn.txt
mkdir -p split
split -a 2 -d -l 200 /gscmnt/gc2802/halllab/sv_aggregate/merge/re-GT/all.cn.txt split/spl2 hour 2 min# commit (svtyper): 2b24a61503eab8274d659e70da357030614c9727for FILE in
ls split
dobomb -m 8 "/gscmnt/gc2719/halllab/users/cchiang/src/svtyper/scripts/vcf_paste.py -q -f split/$FILE | gzip -c > $FILE.vcf.gz"done
ls spl*.vcf.gz > batch_paste.txt
bomb -m 1 "/gscmnt/gc2719/halllab/users/cchiang/src/svtyper/scripts/vcf_paste.py -q -f batch_paste.txt | bgzip -c > final.vcf.gz"
—
Reply to this email directly or view it on GitHub
#44 (comment).
Ryan Layer
from svtools.
This seems to work too:
svtools vcfpaste -f <(ls *vcf)
On Fri, Feb 12, 2016 at 11:39 AM, Ryan Layer [email protected] wrote:
Ah. So -f expects a FILE of files, not a list of files (as the usage
states).On Fri, Feb 12, 2016 at 11:15 AM, Colby Chiang [email protected]
wrote:should work with each VCF filepath on a separate line. here's an example
showing merging in batches of 200 samples, and finally into a VCF of the
whole cohortpwd# /gscmnt/gc2719/halllab/users/cchiang/dev/vcf_paste_2016-01-04
wc -l /gscmnt/gc2802/halllab/sv_aggregate/merge/re-GT/all.cn.txt# 4907 /gscmnt/gc2802/halllab/sv_aggregate/merge/re-GT/all.cn.txt
mkdir -p split
split -a 2 -d -l 200 /gscmnt/gc2802/halllab/sv_aggregate/merge/re-GT/all.cn.txt split/spl2 hour 2 min# commit (svtyper): 2b24a61503eab8274d659e70da357030614c9727for FILE in
ls split
dobomb -m 8 "/gscmnt/gc2719/halllab/users/cchiang/src/svtyper/scripts/vcf_paste.py -q -f split/$FILE | gzip -c > $FILE.vcf.gz"done
ls spl*.vcf.gz > batch_paste.txt
bomb -m 1 "/gscmnt/gc2719/halllab/users/cchiang/src/svtyper/scripts/vcf_paste.py -q -f batch_paste.txt | bgzip -c > final.vcf.gz"
—
Reply to this email directly or view it on GitHub
#44 (comment).Ryan Layer
Ryan Layer
from svtools.
i'm actually just going to reopen this so we remember to clarify the usage
from svtools.
Related Issues (20)
- Genotyping skips insertions (INS)
- vcftobedpe complains about no END field in LUMPY BNDs. HOT 1
- Python 3.6
- No module named 'l_bp' HOT 1
- svtools vcfpaste error HOT 2
- pip install fails HOT 2
- what is the difference between lmerge sum and prod algorithm ?
- Installation still fails due to conflicting pandas version
- lmerge divide zero error HOT 2
- lsort Index error HOT 3
- Are lmerge same as l_merge.py scripts included in LUMPY?
- possible bug in TRA conversion
- MEI annotations and list index out of range while classifying deletions
- Not able to convert vcf to bedpe (Manta output)
- svtools copynumber error *** Break *** segmentation violation
- bedpetovcf does not work with vcftobedpe output as input HOT 1
- ValueError: max() arg is an empty sequence
- svtools afreq KeyError: 'SQ' in
- Assistance Needed with svtools lsort - No Output Generated
- svtools lsort KeyError: 'CIPOS'
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 svtools.