Skip to content

Commit

Permalink
rename cutsite
Browse files Browse the repository at this point in the history
  • Loading branch information
yezhengSTAT committed Apr 28, 2018
1 parent 8d0d2fa commit 46b6740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s1_bwaAlignment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ do
# step1.3 - trim and filter unmapped
echo "Step1.3 - Trim unmapped reads until the restriction enzyme cutting site."
$samtoolsDir/samtools fastq $resultsDir/$name\_unmapped_$i.sam >$resultsDir/$name\_unmapped_$i.fastq
$bin/cutsite_trimming_Ye --fastq $resultsDir/$name\_unmapped_$i.fastq --cutsite $cutsite --out $resultsDir/$name\_unmapped_trim_$i.fastq --rmuntrim
$bin/cutsite_trimming_mHiC --fastq $resultsDir/$name\_unmapped_$i.fastq --cutsite $cutsite --out $resultsDir/$name\_unmapped_trim_$i.fastq --rmuntrim

awk -v minLen=$seqLength 'BEGIN {OFS = "\n"} {header = $0 ; getline seq ; getline qheader ; getline qseq ; if (length(seq) >= minLen) {print header, seq, qheader, qseq}}' < $resultsDir/$name\_unmapped_trim_$i.fastq >$resultsDir/$name\_unmapped_trim_filter_$i.fastq

Expand Down

0 comments on commit 46b6740

Please sign in to comment.