diff --git a/dna_read.sh b/dna_read.sh index 110e695c57775be5d91e574294845dbd66991bd9..fed49763dede0c6a86af9eb626da0bd4159a71e7 100755 --- a/dna_read.sh +++ b/dna_read.sh @@ -184,14 +184,7 @@ else #ordered assembly consensus_script="$project_dir"/sequencing_modules/reads_consensus.py - if $channel_coding - then - expected_length=$(($n_frag * $frag_length * 2)) # for a redundancy of 100% - else - expected_length=$(($n_frag * $frag_length)) # primers and overhangs are espected (except on last fragments ->(-4)) - fi - - call_function python3 "$consensus_script" -i "$sequenced_reads_path" -o "$consensus_path" --start $start_primer --stop $stop_primer -e $expected_length + call_function python3 "$consensus_script" -i "$sequenced_reads_path" -o "$consensus_path" --start $start_primer --stop $stop_primer fi consensus_time=$(date +"%s")