Re: FDATA file bug
Hi Mark,
I tested your model and dataset and checked the FORM section of the FCON file:
FORM
(E3.0,E4.0,E8.0,2E3.0,E1.0,2E6.0,E7.0,E1.0,5E6.0/2E6.0,1F2.0)
and the FDATA, first record here:
1 0 0100100134.82338.212 1.1129042.63542.63542.63542.63542.635
42.63542.635 1
It seems to be fine. Please refer to how fortran uses the format statement to parse strings using field sizes rather than delimiters.
Best regards,
Rikard
Quoted reply history
On 2019-12-05 08:23, Mark Tepeck wrote:
> Hi Nordgren and Denny,
>
> Thanks for your tips. Here are the NONMEM script, input CSV file row 1, and FDATA row 1. I also attached the original model file, CSV input file as well as the FDATA (not sure NMuser allows attachment) for troubleshooting. I did observe that multiple columns from input were combined to fewer columns in the FDATA file. I also found occasional generation of *fdata-1* file but not sure its role.
>
> *
> *
> *The input CSV file (17 columns) *
>
> CID, TIME, CONC, AMT, DOSE, MDV, AGE, WT, SCR, ISM, CLCR, AA, BB, CC , DD, EE, FF 1, 0 , 0, 100, 100, 1, 34.823, 38.212, 1.1129, 0 , 42.635, 42.635, 42.635, 42.635, 42.635, 42.635, 42.635
>
> *FDATA (6 columns):* 1, 0, 0100100134.82338.212, 1.1129042.63542.63542.63542.63542.635, 42.63542.635,1
>
> *NONMEM script:*
>
> $PROBLEM Test Fdata
> $DATA CS1_IV1EST_PAR.CSV IGNORE=C
> $INPUT ID TIME DV AMT DOSE MDV AGE WT SCR ISM CLCR AA BB CC DD EE FF
> $SUBROUTINE ADVAN1 TRANS2
> $PK
> CL = THETA(1)*EXP(ETA(1))
> V= THETA(2)*EXP(ETA(2))
> S1 = V
>
> $ERROR
> IPRED = F
> Y=F+F*ERR(1)+ERR(2)
>
> $THETA
> (0.1,1)
> (1,10,20)
> $OMEGA
> 0.09
> 0.09
> $SIGMA
> 0.09
> 1
> $ESTIMATION METH=1 MAXEVAL=9999 PRINT=5 POSTHOC
> $TABLE ID TIME DV FILE=CS1_IV1ESTFPDF.fit
>
> I really appreciate your input.
>
> Mark
>
> On Tue, Dec 3, 2019 at 11:57 PM Rikard Nordgren < [email protected] < mailto: [email protected] >> wrote:
>
> Hi,
>
> NM-TRAN will not add columns not listed in $INPUT or
> dropped/skipped to FDATA. Could that be the reason?
>
> Best regards
> Rikard Nordgren
>
> On 2019-12-04 01:27, Mark Tepeck wrote:
>
> > Hi All,
> >
> > I am using NONMEM 7.4.3. I want to confirm the right input
> > dataset into NONMEM. However, I found that the FDATA file can
> > save only around the beginning 9 columns of the original CSV
> > file. The ending columns (e.g., column 10-20) are either missing
> > or combined into a single column in the FDATA file.
> >
> > I am not sure other people encountered the same problem.
> >
> > Thank you,
> >
> > Mark
>
> -- Rikard Nordgren
>
> Systems developer
>
> Dept of Pharmaceutical Biosciences
> Faculty of Pharmacy
> Uppsala University
> Box 591
> 75124 Uppsala
>
> Phone: +46 18 4714308
> www.farmbio.uu.se/research/researchgroups/pharmacometrics/
> http://www.farmbio.uu.se/research/researchgroups/pharmacometrics/
>
> När du har kontakt med oss på Uppsala universitet med e-post så
> innebär det att vi behandlar dina personuppgifter. För att läsa
> mer om hur vi gör det kan du läsa här:
> http://www.uu.se/om-uu/dataskydd-personuppgifter/
>
> E-mailing Uppsala University means that we will process your
> personal data. For more information on how this is performed,
> please read here: http://www.uu.se/en/about-uu/data-protection-policy
--
Rikard Nordgren
Systems developer
Dept of Pharmaceutical Biosciences
Faculty of Pharmacy
Uppsala University
Box 591
75124 Uppsala
Phone: +46 18 4714308
www.farmbio.uu.se/research/researchgroups/pharmacometrics/