The perl script below is very close but I am struggling with extracting from the last 4 fields and running a calculation in the last field. I hope I have included enough detail in the below and thank you .
Extraction of Reads1, Reads2,Reads,3,NoBarcode fields are extracted from this portion of run.txt:
The above Reads1,2,3 can all have different IonXpress digits but the format will always be the same. So in this example the digits were 004,005,006, but the next time it might be 001,002,003. However the same format below will apply: f[0] will always be the barcode and f[4] will alsways ne the reads
Calculation in last field:
The very last field is a calculation that uses the f[4]reads in the f[0]No barcode
divided by the Total Reads in [ICODE], in the original code in post 1 Key Signal/ and ($ks,$tr,$rl)=@p[3..5]
extracted the Total Reads, but I am not sure how to perform the calculation of (844020 / 94495222)*100.
current output
desired output tab-delimeted
Last edited by cmccabe; 04-30-2017 at 10:03 AM..
Reason: fixed format
Does anybody have idea of Converting secured pdf files to pdf using acroread ?
---------- Post updated at 04:49 PM ---------- Previous update was at 04:44 PM ----------
This file is not password protected. (4 Replies)
In here we have a script to extract all pdf links from a single page.. any idea's in how make this read instead of a page a list of pages.. and extract all pdf links ?
#!/bin/bash
# NAME: pdflinkextractor
# AUTHOR: Glutanimate (http://askubuntu.com/users/81372/), 2013
#... (1 Reply)
Hi Experts,
Would really appreciate if anyone can guide me how to compare two pdf files line by line and report the difference to another file. (3 Replies)
Hi Guru's,
I am new to shell scripting. I have a unique requirement:
The system generates a single pdf(/tmp/ABC.pdf) file with Invoices for Multiple Customers, the format is something like this:
Page1 >> Customer 1 >>Invoice1 + invoice 2 >> Page1 end
Page2 >> Customer 2 >>Invoice 3 + Invoice 4... (3 Replies)
Hi,
I have one xml file, I extracted some comments and saved in pdf file.I written code like this
#!/usr/bin/perl
use warnings;
use strict;
use PDF::API2;
use PDF::API2::Page;
use XML::LibXML::Reader;
use Data::Dumper;
my $file;
open( $file, 'formal.xml');
my $reader =... (1 Reply)
Please suggest ways to easily convert pdf to text in perl only on windows (no other tools can be downloaded)
Here is what I have been doing :
using a module CAM::PDF to extract data. But it shows everything in messy format :wall:
But this module is the only one working with the pdf... (0 Replies)
Hi,
I am trying to convert html to pdf using perl module PDF::FromHTML, am getting the error as given below.
not well-formed (invalid token) at line 2, column 17, byte 56 at C:/Perl/lib/XML/Parser.pm line 187 at C:/Perl/site/lib/PDF/FromHTML.pm line 140
The perl code is as given... (2 Replies)
Hi All,
I have a requirement of converting an html form into pdf using perl.
The html form contains images, tables and css implementation. I tried using various perl modules but failed to achive the target.
I succeeded in generating a pdf from the html file using... (2 Replies)
Hi Guys!
I want to extract table from PDF in HTML. Can we do this using Shell script....??. Please provide me your suggestions. Any help will be highly appreciated. Thanks! (2 Replies)