MASTER_IP=`ifconfig eth0 |grep "inet addr" |awk '{print $2}' |awk -F: '{print $2}'`
toil clean aws:us-west-2:glennhickey2-s3-jobstore-cluster7
toil-vg construct  aws:us-west-2:glennhickey2-s3-jobstore-cluster7 aws:us-west-2:glennhickey2-out-store --vcf ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/release/20130502/supporting/GRCh38_positions/ALL.chr21_GRCh38.genotypes.20170504.vcf.gz --fasta ftp://ftp.ensembl.org/pub/release-77/fasta/homo_sapiens/dna/Homo_sapiens.GRCh38.dna.chromosome.21.fa.gz --config conf.yaml --out_name snp1kg-CHR21 --control_sample HG00096 --xg_index --gcsa_index --batchSystem=mesos --mesosMaster=${MASTER_IP}:5050 --preemptableNodeType r3.8xlarge:1.5 --maxPreemptableNodes 8 --provisioner aws --nodeType r3.8xlarge  --realTimeLogging --logInfo --nodeType r3.8xlarge --maxNodes 1  --logFile log_construct.log --retryCount 3 --alt_paths --regions 21


