Hi Anoop,
If you want to use vsearch instead usearch, please, use the latest version of GBS-SNP-CROP...
As you said your files have the extension *.fq.gz, I supposed you're using scripts from different pipeline versions. The v.2.0 does not compress the outputs of any step and
GBS-SNP-CROP.4.pl is looking for *.fastq files instead *.fq.gz and once the script is not finding the files it can not calculate them sizes...
Once you are parsing single-end files, please go to
GBS-SNP-CROP.4.pl script and make some changes:
line 416:
my $R1input1 = join (".", "$file","R1","fastq"); --> my $R1input1 = join (".", "$file","fq","gz");
line 418:
open my $IN, "<", "$R1input1" or die "Can't open $R1input1\n"; --> open my $IN, '-|', 'gzip', '-dc', $R1input1 or die "Can't open file $R1input1: $!\n";
If you have trouble to install vsearch or usearch, I strongly recommend you ask for help with the pipeline developers.
Please, let me know how it goes.
Best,
Arthur