# HG changeset patch # User artbio # Date 1601030600 0 # Node ID bd4135caa3fa1592e0194c15eb1c2c7e1f2aff99 # Parent 49da975ba395d617fd44407e87120efdb6ac6105 "planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/lumpy_smoove commit 627bb5344b7d86c0b7ca7235ea3636269613dc32" diff -r 49da975ba395 -r bd4135caa3fa lumpy_smoove.xml --- a/lumpy_smoove.xml Thu Aug 27 17:14:25 2020 -0400 +++ b/lumpy_smoove.xml Fri Sep 25 10:43:20 2020 +0000 @@ -1,4 +1,4 @@ - + find structural variants using the smoove workflow macro_lumpy_smoove.xml @@ -17,9 +17,15 @@ ln -f -s $set_plan.normal_bam.metadata.bam_index normal.bam.bai && ln -s $set_plan.tumor_bam tumor.bam && ln -f -s $set_plan.tumor_bam.metadata.bam_index tumor.bam.bai && - #else + #elif $set_plan.plan_choice=='single': ln -s $set_plan.single_bam single.bam && ln -f -s $set_plan.single_bam.metadata.bam_index single.bam.bai && + #else: + #for $sample in $set_plan.cohort: + ln -s $sample ${sample.element_identifier}.bam && + ln -f -s $sample.metadata.bam_index ${sample.element_identifier}.bam.bai && + #end for + ls -la && #end if smoove call --name output @@ -43,6 +49,7 @@ + @@ -51,6 +58,9 @@ + + + @@ -77,6 +87,24 @@ + + + + + + + + + + + + + + + + + + @@ -132,7 +160,8 @@ There is a blog-post describing smoove in more detail here: https://brentp.github.io/post/smoove/ -Currently, this Galaxy tool only wraps smoove for 2 samples (bam normal and tumor inputs), +Currently, this Galaxy tool only wraps smoove for 1, 2 (bam normal and tumor inputs) or +a small collection of samples (<40), which translates in the command line:: diff -r 49da975ba395 -r bd4135caa3fa test-data/result-6.vcf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/result-6.vcf Fri Sep 25 10:43:20 2020 +0000 @@ -0,0 +1,59 @@ +##fileformat=VCFv4.2 +##FILTER= +##fileDate=20200925 +##reference=reference.fa +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##ALT= +##ALT= +##ALT= +##ALT= +##ALT= +##ALT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##FORMAT= +##contig= +##smoove_version=0.2.5 +##smoove_count_stats=celegans-1:2869,2691,194,304 +##smoove_count_stats=celegans-2:2531,2421,134,276 +##source=LUMPY +##bcftools_annotateVersion=1.10.2+htslib-1.10.2 +##bcftools_annotateCommand=annotate -x INFO/PRPOS,INFO/PREND -Ou; Date=Fri Sep 25 09:37:11 2020 +##INFO= +##INFO= +##bcftools_viewVersion=1.10.2+htslib-1.10.2 +##bcftools_viewCommand=view -c 1 -Oz -c 1 -o output-smoove.genotyped.vcf.gz; Date=Fri Sep 25 09:37:11 2020 +#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT celegans-1 celegans-2 +chrI 10416569 1 N 170.7 . SVTYPE=DUP;SVLEN=981;END=10417550;STRANDS=-+:4;IMPRECISE;CIPOS=-769,29;CIEND=-30,636;CIPOS95=-165,8;CIEND95=-9,128;SU=4;PE=4;SR=0;AC=4;AN=4 GT:GQ:SQ:GL:DP:RO:AO:QR:QA:RS:AS:ASC:RP:AP:AB 1/1:16:130.28:-15,-4,-2:14:4:9:4:9:0:0:0:4:9:0.69 1/1:3:40.43:-4,-1,-1:7:4:3:4:3:0:0:0:4:3:0.43