parser.add_argument('graph',metavar='graph.gfa',type=argparse.FileType('r'),help='pangenome graph file in GFA format containing the genome that the annotation refers to and the target genomes. the GFA file must have W-lines to describe the genomes walks in the graph, and not P-lines')
parser.add_argument('graph',metavar='graph.gfa',type=argparse.FileType('r'),help='pangenome graph file in GFA format containing the genome that the annotation refers to and the target genomes. the GFA file must have W-lines to describe the genomes walks in the graph, and not P-lines')
parser.add_argument('-ht','--haplotype',action="store_true",required=first_args.source_haplotype,help="use if there are several haplotypes in the graph; default is false")
parser.add_argument('-ht','--haplotype',action="store_true",required=(first_args.source_haplotype!='.'),help="use if there are several haplotypes in the graph; default is false")
parser.add_argument('gff',metavar='annotation.gff',type=argparse.FileType('r'),help='annotation file in GFF format containing the annotations to be transfered')
parser.add_argument('gff',metavar='annotation.gff',type=argparse.FileType('r'),help='annotation file in GFF format containing the annotations to be transfered')