Copy ## 创建参数对象
parser = argparse . ArgumentParser (description = "find homologous which conserve As Events" )
Copy parser . add_argument ( "-AtBlast" ,help = "At blast out file" )
parser . add_argument ( "-DtBlast" ,help = "Dt blast out file" )
parser . add_argument ( "-D5Blast" ,help = "D5 blast out file" )
Copy ## 解析参数对象
args = parser . parse_args ()
Copy AtBlastFile = args . AtBlast
DtBlastFile = args . DtBlast
A2BlastFile = args . A2Blast
D5BlastFile = args . D5Blast
Copy usage: conserve_AS.py [-h] [-AtBlast ATBLAST] [-DtBlast DTBLAST]
[-D5Blast D5BLAST] [-A2Blast A2BLAST] [-Atfasta ATFASTA]
[-Dtfasta DTFASTA] [-A2fasta A2FASTA] [-D5fasta D5FASTA]
[-homologous HOMOLOGOUS] [-out OUT]
find homologous which conserve As Events
optional arguments:
-h, --help show this help message and exit
-AtBlast ATBLAST At blast out file
-DtBlast DTBLAST Dt blast out file
-D5Blast D5BLAST D5 blast out file
-A2Blast A2BLAST A2 blast out file
-Atfasta ATFASTA storage At All enevt file
-Dtfasta DTFASTA storage Dt All enevt file
-A2fasta A2FASTA storage A2 All enevt file
-D5fasta D5FASTA storage D5 All enevt file
-homologous HOMOLOGOUS
homologous file
-out OUT out file