#! /bin/bashcd /home/tcglab/tcg_tech/Todd/Stacks/export LD_LIBRARY_PATH=/usr/local/gcc/4.7.1/lib:/usr/local/gcc/4.7.1/lib64:${LD_LIBRARY_PATH}time /usr/local/stacks/latest/bin/process_radtags -P -p ./Plethodon/* -o ./output/ -c -q -r -t 150 --renz_1 xbaI --renz_2 ecoRI -i fastq
No barcodes specified, files will not be demultiplexed.Using Phred+33 encoding for quality scores.Reads will be truncated to 150bpFound 1 paired input file(s).Barcode type unspecified, assuming unbarcoded data.Processing file 1 of 1 [17831_S92_L001_R1_001_trimmed.fastq]Reading data from:./Plethodon/17831_S92_L001_R1_001_trimmed.fastq and./Plethodon/17831_S92_L001_R2_001_trimmed.fastq*** glibc detected *** /usr/local/stacks/latest/bin/process_radtags: munmap_chunk(): invalid pointer: 0x000000000f003bb0 ***======= Backtrace: =========/lib64/libc.so.6(cfree+0x166)[0x339d275b66]/usr/local/stacks/latest/bin/process_radtags[0x409fff]/usr/local/stacks/latest/bin/process_radtags[0x406ce3]/usr/local/stacks/latest/bin/process_radtags[0x410ace]/lib64/libc.so.6(__libc_start_main+0xf4)[0x339d21d9c4]/usr/local/stacks/latest/bin/process_radtags(__gxx_personality_v0+0x109)[0x4032e9]======= Memory map: ========00400000-00426000 r-xp 00000000 00:19 494637290 /panfs/pstor.storage/rcclocal/zcluster/stacks/1.19/bin/process_radtags@"process_rad.sh.e5380558" 68L, 5683C 1,1 Top
#! /bin/bashcd /home/tcglab/tcg_tech/Todd/Stacks/export LD_LIBRARY_PATH=/usr/local/gcc/4.7.1/lib:/usr/local/gcc/4.7.1/lib64:${LD_LIBRARY_PATH}time /usr/local/stacks/latest/bin/ustacks -t fastq -f ./Plethodon/17831_S92_L001_R1_001_trimmed.fastq -o ./output3/ -i 1
Min depth of coverage to create a stack: 3Max distance allowed between stacks: 2Max distance allowed to align secondary reads: 4Max number of stacks allowed per de novo locus: 3Deleveraging algorithm: disabledRemoval algorithm: disabledModel type: SNPAlpha significance level for model: 0.05Parsing ./Plethodon/17831_S92_L001_R1_001_trimmed.fastqLoading RAD-Tag 0 ^M/var/spool/uge/the_zcluster/compute-9-17/job_scripts/5380559: line 4: 29783 Segmentation fault (core dumped) /usr/local/stacks/latest/bin/ustacks -t fastq -f ./Plethodon/17831_S92_L001_R1_001_trimmed.fastq -o ./output3/ -i 1real 0m0.813suser 0m0.034ssys 0m0.030s~~~~~~"ustacks2.sh.e5380559" 14L, 654C 1,1 All
--
Stacks website: http://creskolab.uoregon.edu/stacks/
---
You received this message because you are subscribed to the Google Groups "Stacks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stacks-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
#! /bin/bash
cd /home/tcglab/tcg_tech/Todd/Stacks/Plethodon
export LD_LIBRARY_PATH=/usr/local/gcc/4.7.1/lib:/usr/local/gcc/4.7.1/lib64:${LD_LIBRARY_PATH}
time /usr/local/stacks/latest/bin/process_radtags -p ./rawdata/ -o ./process_output/ -c -q -r -t 230 --disable_rad_check -i fastq
adapter1=ACACTCTTTCCCTACACGACGCTCTTCCGATCT
adapter2=AATTAGATCGGAAGAGCGAGAACAA
path=/home/$USER/work/project/test ## use your own path
cutadapt -a $adapter1 -A $adapter2 -o ${path}cutadapt_out/Idx1_S1_L001_R1_001cut.fastq.gz -p ${path}cutadapt_out/Idx1_S1_L001_R2_001cut.fastq.gz ${path}raw_data_ln/Idx1_S1_L001_R1_001.fastq.gz ${path}raw_data_ln/Idx1_S1_L001_R2_001.fastq.gz
process_radtags -p ${path}raw_data_ln/ -P -o ${path}out_radtags_e1/ -b ${path}barcode_names.tsv -e pstI -r -c -q
## I used fastqc to check the quality,
## only the R2 reads had empty reads, shown in the overrepresented sequences,
## not the R1
fastqc -t 20 --noextract -o ${path}qual/qual_raw_cut ${path}cutadapt_out/*
## This will be t4 times the number of empty reads shown by fastqc
zgrep '^$' -A 2 -B 1 ${path}cutadapt_out/Idx1_S1_L001_R2_001cut.fastq.gz | wc -l
## I don't know why the -v option didn't do it's work
zgrep '^$' -v -A 2 -B 1 ${path}cutadapt_out/Idx1_S1_L001_R2_001cut.fastq.gz | gzip > Idx1_S1_L001_R2_001cut_noEmpty.fastq.gz
## The later idea was to re-pair the R1 and R2 using repair.sh from BBMapadapter1=ACACTCTTTCCCTACACGACGCTCTTCCGATCT
adapter2=AATTAGATCGGAAGAGCGAGAACAA
path=/home/$USER/work/project/test
cutadapt -m 10 -a $adapter1 -A $adapter2 -o ${path}cutadapt_out/Idx1_S1_L001_R1_001cut.fastq.gz -p ${path}cutadapt_out/Idx1_S1_L001_R2_001cut.fastq.gz ${path}raw_data_ln/Idx1_S1_L001_R1_001.fastq.gz ${path}raw_data_ln/Idx1_S1_L001_R2_001.fastq.gz
process_radtags -p ${path}raw_data_ln/ -P -o ${path}out_radtags_e1/ -b ${path}barcode_names.tsv -e pstI -r -c -q