Skip to content
Snippets Groups Projects
Commit 099e8916 authored by nina.marthe_ird.fr's avatar nina.marthe_ird.fr
Browse files

corrected haplotype option requirement

parent d81997ff
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ def arg(): ...@@ -34,7 +34,7 @@ def arg():
# input files # input files
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')
# optionnal input file # optionnal input file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment