diff make_phylip.py @ 37:884ccb07885b

Fixed output_id
author Richard Burhans <burhans@bx.psu.edu>
date Wed, 20 Nov 2013 16:43:43 -0500
parents 51cd0307fb70
children
line wrap: on
line diff
--- a/make_phylip.py	Wed Nov 20 16:32:01 2013 -0500
+++ b/make_phylip.py	Wed Nov 20 16:43:43 2013 -0500
@@ -402,6 +402,7 @@
     parser.add_argument('--refClmn',metavar='int',type=int,help='the column with the reference nucleotide.',required=True)
     parser.add_argument('--altrClmn',metavar='int',type=int,help='the column with the derived nucleotide.',required=True)
     parser.add_argument('--output',metavar='output',type=str,help='the output',required=True)
+    parser.add_argument('--output_id',metavar='int',type=int,help='the output id',required=True)
     parser.add_argument('--gd_indivs',metavar='input gd_indivs file',type=str,help='the input reference species columns in the input file.',required=True)
     #~ 
     parser.add_argument('--inputCover',metavar='input gd_snp cover file',type=str,help='the input file with the table in gd_snp/gd_genotype cover format.',required=False,default=False)
@@ -431,6 +432,7 @@
     inSNPf = args.input
     inSNPf_type = args.input_type
     outfile = args.output
+    outfile_id = args.output_id
     gd_indivs = args.gd_indivs    
     pxchrx = args.chrClmn
     pxpos = args.posClmn