Skip to content

Commit

Permalink
Update count_geno.py
Browse files Browse the repository at this point in the history
  • Loading branch information
flystar233 authored Oct 16, 2019
1 parent bc8d19d commit 4e78dab
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion count_geno.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
import argparse
import gzip

#count_work.sh
#sed -i 's/\t/ /g' $1;
#cut -f 1,2,3 -d ' ' $1 >head_geno.txt;
#cut -f 1,2,3 --complement -d ' ' $1 >bady_geno.txt;
#python count_geno.py -i bady_geno.txt >count.txt;
#paste head_geno.txt count.txt >result.txt

def count_geno():
parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument("-i", "--input", action="store", dest="filename", required=True,help="Name of genotype(generated by iTools)")
Expand Down Expand Up @@ -35,4 +42,3 @@ def count_geno():

if __name__ == "__main__":
count_geno()

0 comments on commit 4e78dab

Please sign in to comment.