# HG changeset patch # User p.lucas # Date 1721829457 0 # Node ID 0649236c92eeba749d7a61104c80b2aa3d152a5d # Parent c89ac5bc114c4c1d270d692b57aa85fbe102295c Uploaded diff -r c89ac5bc114c -r 0649236c92ee fasta_to_fastq.py --- a/fasta_to_fastq.py Wed Jul 24 13:49:37 2024 +0000 +++ b/fasta_to_fastq.py Wed Jul 24 13:57:37 2024 +0000 @@ -5,7 +5,7 @@ Convert fasta fle to fastq file with given score Written by Pierrick Lucas. -Usage : python fastq_to_fastq.py -i sequences.fasta -s 40 -o output_file.fastq +Usage : python fasta_to_fastq.py -i sequences.fasta -s 40 -o output_file.fastq """ @@ -18,7 +18,7 @@ ##### MAIN def __main__(): # Options : - parser = argparse.ArgumentParser(description="""Takes a fasta file and converts it to fastq file with a fake quality score.""", + parser = argparse.ArgumentParser(description="""Take a fasta file and converts it to fastq file with a given quality score.""", epilog="""This script need few options, use -h to see it.""") parser.add_argument("-i", "--infile", dest="infile", help="Input fasta file.") parser.add_argument("-s", "--score", type=int, default=40, dest="score", help="Quality score you wanted for each base in all reads. (default: 40)")