File Info

Filename
.command.log
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/b1/9784b913bb2bb3f508b75e0a0922a3/.command.log
Size
12.0 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/b1/9784b913bb2bb3f508b75e0a0922a3/.command.sh
  Downloading: s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/7d/f8fd29576e32144814fdce4bb38392/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.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/7d/f8fd29576e32144814fdce4bb38392/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.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/b1/9784b913bb2bb3f508b75e0a0922a3/.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 BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1
+ all_qc -bam BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.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 BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1 -reference ref_genome.fa -region chr20
mkdir -p BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md/


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


seqtool depth -bam BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bam -bed BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md/full_bed.bed -threads 4 -bam_threads 2 | bgzip -c > BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.depth.gz
saturation_plot       -bams BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bam       -region chr20       -output BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md/saturation_plot.png       -threads 1 
seqtool saturation_metric       -at 1000000       -region chr20       -bam_threads 1       BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bam > BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md/saturation_qc.tsv 
fragment_size       -bams BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bam       -region chr20       -output_prefix BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md/fragsize       -threads 1 
samtools mpileup   -B --min-MQ 60 --min-BQ 30    -f ref_genome.fa   -l dbsnp_hg38_contam_sites.bed   BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bam > BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.mpileup && contamination -input BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.mpileup -dbsnp_vcf Homo_sapiens_assembly38.dbsnp138.vcf.gz > BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md/contamination.tsv 
[W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai
[mpileup] 1 samples in 1 input files
[W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.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: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai

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

218896it [00:00, 1100012.46it/s]
331038it [00:00, 1109730.26it/s]
444849it [00:00, 1120880.05it/s][W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai

561832it [00:00, 1138477.84it/s]
699501it [00:00, 1219416.27it/s][W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai

821444it [00:00, 1106152.92it/s]
933878it [00:00, 1108371.72it/s]
1045969it [00:00, 1059092.41it/s]
1153016it [00:01, 1061912.55it/s]
1260014it [00:01, 1061124.12it/s]
1368157it [00:01, 1067041.37it/s]
1475270it [00:01, 1067319.57it/s]
1585437it [00:01, 1077464.42it/s][W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai

1699725it [00:01, 1096892.21it/s]
1812468it [00:01, 1105957.74it/s][W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai

1925904it [00:01, 1114394.53it/s]
2039970it [00:01, 1122209.66it/s]
2182146it [00:01, 1211856.51it/s]
2321961it [00:02, 1267447.45it/s]
2476590it [00:02, 1350846.31it/s]
2611732it [00:02, 1302257.92it/s]
2742370it [00:02, 1285605.43it/s][W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai

2887691it [00:02, 1334429.83it/s]
3021484it [00:02, 1291401.69it/s]
3151104it [00:02, 1255592.63it/s]
3277107it [00:02, 1230719.68it/s]
3400498it [00:02, 1203483.27it/s][W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai

3521089it [00:03, 1188198.03it/s]


3640051it [00:03, 1177201.77it/s]
3757847it [00:03, 1164909.54it/s]
3874375it [00:03, 1161781.32it/s]
3991920it [00:03, 1165735.40it/s]
4110108it [00:03, 1170451.98it/s]
4228297it [00:03, 1173753.74it/s]
4347989it [00:03, 1180594.91it/s]
4466070it [00:03, 1177374.59it/s]
4583823it [00:03, 1170690.25it/s]
4702097it [00:04, 1174195.50it/s]
4820945it [00:04, 1178415.91it/s]
4861965it [00:04, 1169694.17it/s]
[W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai


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


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


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


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


cat BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.depth_hist.tsv | plot         -x 0         -xlabel Depth -ylabel "Number of Sites"         -xlim 0 2000         -title BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md         -output BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.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     BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bam > BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.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     BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bam > BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md/reads_per_target.Twist_rna_exome_AND_fusion_hg38.bed.tsv 
seqtool depth_stats  -bed Twist_rna_exome_AND_fusion_hg38.bed  BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.depth.gz> BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.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  BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bam  > BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1/BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.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: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai
[W::hts_idx_load3] The index file is older than the data file: BreastNP_FFPE_L03_RNA_01_B23LG7FLT4_1.md.bai








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


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


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