File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/19/a424217c107778bcfb2502f9234940/.command.log
Size
14.6 KB
Attempt
  Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/starfusion/ctat_genome_lib_build_dir/ref_genome.fa
  Downloading: s3://natera-platform-sandbox/pipeline-resources/Homo_sapiens_assembly38.dbsnp138.vcf.gz
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/19/a424217c107778bcfb2502f9234940/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/0c/e21d50f8992089ff9021635d607fd6/A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam
  Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/starfusion/ctat_genome_lib_build_dir/ref_genome.dict
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/0c/e21d50f8992089ff9021635d607fd6/A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
  Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/gatk4/dbsnp_hg38_contam_sites.bed
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/19/a424217c107778bcfb2502f9234940/.command.run
  Downloading: s3://natera-platform-sandbox/pipeline-resources/AIH/rna/GRCh38/starfusion/ctat_genome_lib_build_dir/ref_genome.fa.fai
  Downloading: s3://natera-platform-sandbox/pipeline-resources/beds/twist/Twist_rna_exome_AND_fusion_hg38.bed
  Downloading: s3://natera-platform-sandbox/pipeline-resources/Homo_sapiens_assembly38.dbsnp138.vcf.gz.tbi
==> STAGING COMPLETE (11 inputs)

+ mkdir A673_FFPE_RNA_0001_B23LG7FLT4_3
+ all_qc -bam A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam -beds Twist_rna_exome_AND_fusion_hg38.bed -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz -contamination_bed dbsnp_hg38_contam_sites.bed -output_folder A673_FFPE_RNA_0001_B23LG7FLT4_3 -reference ref_genome.fa -region chr20
mkdir -p A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/


cat Twist_rna_exome_AND_fusion_hg38.bed | cut -f 1-3 | bedtools sort -g ref_genome.fa.fai | bedtools merge > A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/full_bed.bed


saturation_plot       -bams A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam       -region chr20       -output A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/saturation_plot.png       -threads 1 
seqtool saturation_metric       -at 1000000       -region chr20       -bam_threads 1       A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam > A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/saturation_qc.tsv 
seqtool depth -bam A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam -bed A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/full_bed.bed -threads 4 -bam_threads 2 | bgzip -c > A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/A673_FFPE_RNA_0001_B23LG7FLT4_3.md.depth.gz
samtools mpileup   -B --min-MQ 60 --min-BQ 30    -f ref_genome.fa   -l dbsnp_hg38_contam_sites.bed   A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam > A673_FFPE_RNA_0001_B23LG7FLT4_3.md.mpileup && contamination -input A673_FFPE_RNA_0001_B23LG7FLT4_3.md.mpileup -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz > A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/contamination.tsv 
fragment_size       -bams A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam       -region chr20       -output_prefix A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/fragsize       -threads 1 
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[mpileup] 1 samples in 1 input files
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
/opt/conda/lib/python3.9/site-packages/pyranges/__init__.py:8: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
/opt/conda/lib/python3.9/site-packages/pyranges/__init__.py:8: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai

0it [00:00, ?it/s][W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai

99527it [00:00, 995192.65it/s]
207591it [00:00, 1045418.12it/s]
312479it [00:00, 1046969.65it/s]
417578it [00:00, 1048454.54it/s]
522424it [00:00, 1022354.49it/s]
624770it [00:00, 983296.95it/s] 
723390it [00:00, 974552.88it/s]
822046it [00:00, 978199.37it/s]
920001it [00:00, 972004.00it/s]
1017290it [00:01, 965525.09it/s]
1113901it [00:01, 965405.20it/s]
1219953it [00:01, 993928.67it/s]
1326663it [00:01, 1015864.39it/s]
1434637it [00:01, 1034991.71it/s]
1541161it [00:01, 1044047.04it/s]
1649870it [00:01, 1056935.06it/s]
1755600it [00:01, 1013441.22it/s]
1857343it [00:01, 1002998.52it/s]
1957918it [00:01, 994907.37it/s] 
2057654it [00:02, 995470.16it/s]
2171115it [00:02, 1036409.42it/s]
2278944it [00:02, 1048789.24it/s]
2384133it [00:02, 1049684.37it/s]
2490180it [00:02, 1052873.07it/s]
2597816it [00:02, 1059865.22it/s]
2706594it [00:02, 1068005.79it/s]
2813434it [00:02, 1065881.97it/s]
2920050it [00:02, 1064083.86it/s]
3033056it [00:02, 1083785.72it/s]
3141456it [00:03, 1076046.43it/s]
3249086it [00:03, 1075845.61it/s]
3357587it [00:03, 1078558.70it/s]
3466038it [00:03, 1080317.44it/s]
3574080it [00:03, 1073890.61it/s]
3681484it [00:03, 1069184.77it/s]
3788415it [00:03, 1067798.41it/s]
3895203it [00:03, 1067691.72it/s]
4004404it [00:03, 1074937.06it/s]
4114359it [00:03, 1082273.47it/s]
4222594it [00:04, 1067840.98it/s]
4329424it [00:04, 1061572.62it/s]
4436230it [00:04, 1063475.08it/s]
4543958it [00:04, 1067452.17it/s]
4650725it [00:04, 1063473.55it/s]
4758037it [00:04, 1066326.89it/s]
4866732it [00:04, 1072318.89it/s]
4976055it [00:04, 1078553.13it/s]
5085212it [00:04, 1082292.99it/s]
5193713it [00:04, 1083078.32it/s]
5302027it [00:05, 1079652.77it/s]
5410626it [00:05, 1081525.94it/s]
5519044it [00:05, 1082296.77it/s]
5627278it [00:05, 1080891.26it/s]
5736000it [00:05, 1082764.73it/s]
5845243it [00:05, 1085641.12it/s]
5953810it [00:05, 1074111.63it/s]
6061250it [00:05, 1069212.77it/s]
6169634it [00:05, 1073432.52it/s]
6276996it [00:05, 1067437.21it/s]
6383757it [00:06, 1055765.18it/s]
6492495it [00:06, 1065102.96it/s]
6600122it [00:06, 1068400.13it/s]
6708958it [00:06, 1074331.31it/s]
6818815it [00:06, 1081548.04it/s]
6926990it [00:06, 1075794.05it/s]
7036371it [00:06, 1081088.57it/s]
7145033it [00:06, 1082721.08it/s]
7253952it [00:06, 1084634.50it/s]
7363893it [00:06, 1089033.07it/s]
7473332it [00:07, 1090619.33it/s]
7582400it [00:07, 1088989.09it/s]
7691304it [00:07, 1074482.73it/s]
7798797it [00:07, 1073181.97it/s]
7908100it [00:07, 1079064.49it/s]
8016670it [00:07, 1081021.40it/s]
8127221it [00:07, 1088258.69it/s]
8236633it [00:07, 1089991.97it/s]
8345645it [00:07, 1086106.44it/s]
8454607it [00:07, 1087137.26it/s]
8563329it [00:08, 1085851.89it/s]
8671920it [00:08, 1083308.97it/s]
8780256it [00:08, 1074845.57it/s]
8890056it [00:08, 1081681.26it/s]
8998677it [00:08, 1083010.16it/s]
9106991it [00:08, 1078421.18it/s]
9216096it [00:08, 1082164.37it/s]
9324323it [00:08, 1075161.58it/s]
9431854it [00:08, 1068240.85it/s]
9539283it [00:08, 1070019.31it/s]
9647566it [00:09, 1073816.70it/s]
9754960it [00:09, 1071653.09it/s]
9862478it [00:09, 1072686.53it/s]
9969753it [00:09, 1072315.98it/s]
10078282it [00:09, 1076178.32it/s]
10186087it [00:09, 1076719.11it/s]
10293762it [00:09, 1075954.71it/s]
10401683it [00:09, 1076907.92it/s]
10510367it [00:09, 1079861.70it/s]
10618355it [00:09, 1078577.77it/s]
10726214it [00:10, 1075802.29it/s]
10836104it [00:10, 1082694.37it/s]
10944835it [00:10, 1084055.02it/s]
11053244it [00:10, 1082700.08it/s]
11161517it [00:10, 1079350.34it/s]
11269725it [00:10, 1080145.92it/s]
11377777it [00:10, 1080157.22it/s]
11486541it [00:10, 1082320.33it/s]
11595425it [00:10, 1084253.10it/s]
11703852it [00:11, 1074275.61it/s]
11811416it [00:11, 1074661.72it/s]
11918936it [00:11, 1074799.76it/s]
12027814it [00:11, 1078959.39it/s]
12135719it [00:11, 1078464.35it/s]
12244415it [00:11, 1080863.02it/s]
12352507it [00:11, 1076997.79it/s]
12460213it [00:11, 1072130.35it/s]
12567434it [00:11, 1044152.41it/s]
12673354it [00:11, 1048472.85it/s]
12782456it [00:12, 1061018.03it/s]
12888660it [00:12, 1059806.59it/s]
12996741it [00:12, 1066033.43it/s]
13104956it [00:12, 1070817.39it/s]
13212079it [00:12, 1064721.23it/s]
13318586it [00:12, 1061012.01it/s]
13424712it [00:12, 1052227.12it/s]
13529963it [00:12, 1031926.07it/s]
13633243it [00:12, 1028573.02it/s]
13741842it [00:12, 1045480.26it/s]
13849716it [00:13, 1055316.19it/s]
13955309it [00:13, 1022971.67it/s]
14057842it [00:13, 979378.12it/s] 
14156753it [00:13, 982066.09it/s]
14261981it [00:13, 1002365.27it/s]
14368122it [00:13, 1019551.56it/s]
14473675it [00:13, 1030135.88it/s]
14578986it [00:13, 1036922.95it/s]
14684392it [00:13, 1042002.01it/s]
14700009it [00:13, 1059854.28it/s]


[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai


[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai


[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai


tabix -s 1 -b 2 -e 2 A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/A673_FFPE_RNA_0001_B23LG7FLT4_3.md.depth.gz


seqtool depth_hist     -nbins 500     A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/A673_FFPE_RNA_0001_B23LG7FLT4_3.md.depth.gz     > A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/A673_FFPE_RNA_0001_B23LG7FLT4_3.md.depth_hist.tsv


cat A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/A673_FFPE_RNA_0001_B23LG7FLT4_3.md.depth_hist.tsv | plot         -x 0         -xlabel Depth -ylabel "Number of Sites"         -xlim 0 2000         -title A673_FFPE_RNA_0001_B23LG7FLT4_3.md         -output A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/A673_FFPE_RNA_0001_B23LG7FLT4_3.md.depth.png


[W::hts_idx_load3] The index file is older than the data file: Homo_sapiens_assembly38.dbsnp138.vcf.gz.tbi


seqtool read_qc    -bed Twist_rna_exome_AND_fusion_hg38.bed     -n_threads 1     -bam_threads 2     A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam > A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/read_qc.Twist_rna_exome_AND_fusion_hg38.bed.tsv
seqtool reads_per_target     -bed Twist_rna_exome_AND_fusion_hg38.bed     -threads 1     -bam_threads 2     A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam > A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/reads_per_target.Twist_rna_exome_AND_fusion_hg38.bed.tsv 
seqtool depth_stats  -bed Twist_rna_exome_AND_fusion_hg38.bed  A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/A673_FFPE_RNA_0001_B23LG7FLT4_3.md.depth.gz> A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/depth_stats.Twist_rna_exome_AND_fusion_hg38.bed.tsv 
seqtool gc_bias  -reference ref_genome.fa  -bed Twist_rna_exome_AND_fusion_hg38.bed  -bin_size 0.05  -threads 1  -bam_threads 2  A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bam  > A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/gc_bias_qc.Twist_rna_exome_AND_fusion_hg38.bed.tsv 
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai
[W::hts_idx_load3] The index file is older than the data file: A673_FFPE_RNA_0001_B23LG7FLT4_3.md.bai






cat A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/gc_bias_qc.Twist_rna_exome_AND_fusion_hg38.bed.tsv  | plot -x 0  -header infer  -ylim 0 2  -title "A673_FFPE_RNA_0001_B23LG7FLT4_3.md" -suptitle "Twist_rna_exome_AND_fusion_hg38.bed" -output "A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/gc_bias.Twist_rna_exome_AND_fusion_hg38.bed.png"  -ylabel "Fold enrichment / depletion"  -xlabel "GC Quantile" 




echo `date` > A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md/qc_complete.txt


+ merge_qc -folders A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3.md -output A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3_full_basic_stats.tsv
+ head -n1 A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3_full_basic_stats.tsv
++ basename Twist_rna_exome_AND_fusion_hg38.bed
+ grep -e Twist_rna_exome_AND_fusion_hg38.bed A673_FFPE_RNA_0001_B23LG7FLT4_3/A673_FFPE_RNA_0001_B23LG7FLT4_3_full_basic_stats.tsv