Originally posted by bioliyezhang
View Post

You are currently viewing the SEQanswers forums as a guest, which limits your access. Click here to register now, and join the discussion
filteresCommonPEreads.sh forward.fastq reverse.fastq
paste file1_PE_DATA.fastq file2_PE_DATA.fastq | awk '{ printf("%s",$0); n++; if(n%4==0) { printf("\n");} else { printf("\t\t");} }' | shuf | head | sed 's/\t\t/\n/g' | awk '{print $1 > "file1.fastq"; print $2 > "file2.fatsq"}'
paste file1_PE_DATA.fastq file2_PE_DATA.fastq | awk '{ printf("%s",$0); n++; if(n%4==0) { printf("\n");} else { printf("\t\t");} }' | shuf | head | sed 's/\t\t/\n/g' | awk '{print $1 > "file1.fastq"; print $2 > "file2.fatsq"}'
$ pairfq makepairs -f s_1_1_trimmed.fq \ -r s_1_2_trimmed.fq \ -fp s_1_1_trimmed_p.fq \ -rp s_1_2_trimmed_p.fq \ -fs s_1_1_trimmed_s.fq \ -rs s_1_2_trimmed_s.fq
$ pairfq makepairs -f s_1_1_trimmed.fq \ -r s_1_2_trimmed.fq \ -fp s_1_1_trimmed_p.fq \ -rp s_1_2_trimmed_p.fq \ -fs s_1_1_trimmed_s.fq \ -rs s_1_2_trimmed_s.fq \ --index
$ ./bbsplitpairs.sh in=bbsplittest_trimmed_cat.fastq out=bbsplit_test_p.fq outsingle=bbsplit_test_s.fq fixpairs : invalid option Usage: /bin/bash [GNU long option] [option] ... /bin/bash [GNU long option] [option] script-file ... GNU long options: --debug --debugger --dump-po-strings --dump-strings --help --init-file --login --noediting --noprofile --norc --posix --protected --rcfile --rpm-requires --restricted --verbose --version --wordexp Shell options: -irsD or -c command or -O shopt_option (invocation only) -abefhkmnptuvxBCHP or -o option
$ bash bbsplitpairs.sh in=bbsplittest_trimmed_cat.fastq out=bbsplit_test_p.fq outsingle=bbsplit_test_s.fq fixpairs : command not foundne 3: : command not foundne 6: 'bsplitpairs.sh: line 8: syntax error near unexpected token `{ 'bsplitpairs.sh: line 8: `calcXmx () {
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, 03-03-2025, 01:15 PM
|
0 responses
169 views
0 likes
|
Last Post
by seqadmin
03-03-2025, 01:15 PM
|
||
Started by seqadmin, 02-28-2025, 12:58 PM
|
0 responses
259 views
0 likes
|
Last Post
by seqadmin
02-28-2025, 12:58 PM
|
||
Started by seqadmin, 02-24-2025, 02:48 PM
|
0 responses
641 views
0 likes
|
Last Post
by seqadmin
02-24-2025, 02:48 PM
|
||
Started by seqadmin, 02-21-2025, 02:46 PM
|
0 responses
265 views
0 likes
|
Last Post
by seqadmin
02-21-2025, 02:46 PM
|
Comment