Skip to content

Commit

Permalink
add license.txt an update commands to remove default referecne path
Browse files Browse the repository at this point in the history
  • Loading branch information
plantimals committed Aug 25, 2019
1 parent 769588f commit 0fef9f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 2vcf.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ import (
)

var (
app = kingpin.New("2vcf", "convert raw genotype calls from sources like 23andme or ancestry.com into vcf format and upload it to google genomics")
app = kingpin.New("2vcf", "convert raw genotype calls from sources like 23andme or ancestry.com into vcf format with dbSNP annotations")

conv = app.Command("conv", "convert raw data to vcf format")
rawType = conv.Arg("raw genotype source", "source of the raw genotype data, 23andme or ancestry.com").Required().Enum("23andme", "ancestry")
inFile = conv.Arg("input-data", "relative path to input data, zip or ascii").Required().ExistingFile()
outFile = conv.Flag("output-file", "relative path to output data, gzipped").Short('o').String()
vcfRef = conv.Flag("vcf-ref", "relative path to vcf reference data, gzipped").Default("reference/reference.vcf.gz").Short('v').String()
rawType = conv.Arg("23andme or ancestry", "source of the raw genotype data, 23andme or ancestry.com").Required().Enum("23andme", "ancestry")
inFile = conv.Flag("input", "path to input data, zip or ascii").Required().Short('i').ExistingFile()
vcfRef = conv.Flag("ref", "path to gzipped vcf reference data").Required().Short('r').String()
outFile = conv.Flag("output", "path to output data, gzipped").Short('o').String()
)

var (
Expand Down
7 changes: 7 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright 2019 Rob Long

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 comments on commit 0fef9f5

Please sign in to comment.