Skip to content

Commit

Permalink
Merge pull request #15 from eipm/combine_pindels
Browse files Browse the repository at this point in the history
Update combine_pindel_vcfs.sh
  • Loading branch information
fernandezevn authored Dec 11, 2020
2 parents 0cf9e41 + a7d1878 commit 1104dae
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions combine_pindel_vcfs.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
DOI=$1
FOIS=( $(ls $DOI/*vcf | egrep -e '(pindel_LI|pindel_RP|pindel_SI|pindel_TD|pindel_INV|pindel_INT_final|pindel_D)') )
FINAL_FILE=$DOI"/pindel_all.vcf"
VCFS_STR=for i in "${FOIS[*]}"; do echo "$i"; done
vcf-concat -p $VCFS_STR > $FINAL_FILE
vcf-concat -p $(ls ${1}/*vcf | egrep -e '(pindel_LI|pindel_RP|pindel_SI|pindel_TD|pindel_INV|pindel_INT_final|pindel_D)') > ${1}/pindel_all.vcf

0 comments on commit 1104dae

Please sign in to comment.