-
Notifications
You must be signed in to change notification settings - Fork 0
/
spades.sh
16 lines (12 loc) · 1.06 KB
/
spades.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh
for SAMPLEID in 22260 22261 22262 22263 22264 22265 22266 22267 22268 22269 22270 22271 22272 22273 22274 22275 22276 22277 22278 22279 22280 22281 22282 22283 22284 22285 22286 22287 22288 22289 22290 22291 22292 22293 22294 22295 22296 22297 22298 22299 22300 22301 22302 22303 22304 22305 22306 22307 22308 22309 22310 22311 22312 22313 22314 22315 22316 22317 22318 22319 22320 22321 22322 22323 22324 22325 22326 22327 22328 22329 22330 22331 22332 22333 22334 22335 22336 22337 22338 22339 22340 22341 22342 22343 22344 22345 22346 22347 22348 22349 22350 22351 22352 22353 22354 22355
do
cp $SAMPLEID\_trimmed.1.fastq.gz /scratchfs/ismall/
cp $SAMPLEID\_trimmed.2.fastq.gz /scratchfs/ismall/
cd /scratchfs/ismall/
python /usr/local/packages/SPAdes-3.6.1-Linux/bin/spades.py --only-error-correction --careful --pe1-1 $SAMPLEID\_trimmed.1.fastq.gz --pe1-2 $SAMPLEID\_trimmed.2.fastq.gz -o $SAMPLEID
cp -r $SAMPLEID ~/working_data_01/20151015_AGRF_BPA_Pilbara_C7NAAANXX/
#rm *.fastq.gz
#rm -r $SAMPLEID
cd ~/working_data_01/20151015_AGRF_BPA_Pilbara_C7NAAANXX/
done