From 49b477ce5d1f13ab4a3e78f08a82ff6cbddcce23 Mon Sep 17 00:00:00 2001 From: subwaystation Date: Fri, 12 Mar 2021 15:52:14 +0100 Subject: [PATCH] added specific TODOs, example command line --- pgge | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pgge b/pgge index 17a2867..a5620f3 100755 --- a/pgge +++ b/pgge @@ -13,6 +13,8 @@ seq_length=false step=false beehave_R=false peanut_bed=false +ratio_subset=1.0 # TODO subsample_percentage -> -p,--subsample-percentage [N] +num_subset=false # TODO subsample_number -> -u,--subsample-number [n] threads=1 num_gfas=0 @@ -49,6 +51,8 @@ while true ; do esac done +# TODO Both subsample options can't be set at the same time + if [[ $input_gaf == false ]]; @@ -151,7 +155,7 @@ param_file=$output_dir/$prefix_pgge.$date.params.yml prefix_pgge="$output_dir"/$prefix_pgge fmt="%C\n%Us user %Ss system %P cpu %es total %MKb max memory" -timer=/usr/bin/time +timer=time # write parameters to log_file: echo -e "Starting pgge on `date`\n" > "$log_file" @@ -257,6 +261,11 @@ then done 2> >(tee -a "$log_file") fi +# TODO +# only take a subset of the reads using shuf +# shuf -n $(( 112*20/100 )) cerevisiae.pan.fa.fai + + for gfa in $input_gfa do gfa_base="$(basename -- "$gfa")"